Merge pull request #199 from teners/hw3docker

Replace git-checkout with volume mounting from Travis sandbox
This commit is contained in:
Anton Podkopaev 2018-03-06 17:53:44 +03:00 committed by GitHub
commit 423b4dc001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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_COMMIT" -e "TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG" anlun/compiler-workout-ci
- docker run -d -it --name compiler-workout-ci -v $(pwd):/usr/share/compiler-workout anlun/compiler-workout-ci
script:
docker exec -it compiler-workout-ci sh test.sh