.travis.yml 478 B

12345678910111213
  1. language: php
  2. services:
  3. - docker
  4. sudo: required
  5. script:
  6. - git clone https://github.com/tripal/docker-tripal-centos
  7. - 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
  8. - cd ../tripal-v3 && docker build .
  9. - 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'