2015-11-16 19:42:12 +01:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: ruby
|
2016-04-06 22:23:44 +02:00
|
|
|
cache: bundler
|
2015-11-16 19:42:12 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2016-05-04 22:41:45 +02:00
|
|
|
|
2015-11-16 19:42:12 +01:00
|
|
|
script:
|
2016-12-29 18:22:10 +01:00
|
|
|
- chmod +x docker-entrypoint-es-plugins.sh
|
2015-11-16 19:42:12 +01:00
|
|
|
- docker-compose run web rake db:setup
|
2016-05-04 22:41:45 +02:00
|
|
|
- docker-compose run -e CI=true -e TRAVIS=true -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_COMMIT=$TRAVIS_COMMIT -e TRAVIS_JOB_NUMBER=$TRAVIS_JOB_NUMBER -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG web bin/run-tests
|