- language: php
- services:
- - docker
- sudo: required
- script:
- - git clone https://github.com/tripal/docker-tripal-centos
- - cd tripal-v2 && docker build . #Aftewards run the container and do stuff with it - docker run -it -p 8080:80 mingchen0919/docker-tripal-v2 /bin/bash
- - cd ../tripal-v3 && docker build .
- - ls #we'll run tests at this step # docker exec -it tripal-v3 bash -c 'cd /var/www/html/sites/all/modules/tripal/ &&composer install && ./vendor/bin/phpunit'
|