Fixed environment variables passed to Docker.

This commit is contained in:
Podkopaev Anton 2018-03-02 09:58:18 +03:00
parent 71ceb0db67
commit 8394424016

View file

@ -3,6 +3,6 @@ services:
- docker
before_install:
- docker pull anlun/compiler-workout-ci
- docker run -d -it --name compiler-workout-ci -e "TRAVIS_COMMIT=$TRAVIS_PULL_REQUEST_BRANCH" anlun/compiler-workout-ci
- docker run -d -it --name compiler-workout-ci -e "TRAVIS_COMMIT=$TRAVIS_COMMIT" -e "TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG" anlun/compiler-workout-ci
script:
docker exec -it compiler-workout-ci sh test.sh
docker exec -it compiler-workout-ci sh test.sh