stadtratmonitor/.travis.yml

16 lines
485 B
YAML
Raw Normal View History

2015-11-16 19:42:12 +01:00
sudo: required
2020-01-15 21:34:59 +01:00
before_install:
- sudo apt-get -y install curl
2015-11-16 19:42:12 +01:00
language: ruby
2020-01-15 21:34:59 +01:00
rvm: 2.5.7
install:
- rvm use 2.5.7 --install
2015-11-16 19:42:12 +01:00
services:
- docker
2015-11-16 19:42:12 +01:00
script:
- docker-compose run web rake db:setup
2020-01-15 21:34:59 +01: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