Replace git-checkout with volume mounting from Travis sandbox

This commit is contained in:
Sergey Sokolov 2018-03-06 17:41:06 +03:00
parent af72862f01
commit 449831f735

View file

@ -3,6 +3,6 @@ services:
- docker - docker
before_install: before_install:
- docker pull anlun/compiler-workout-ci - 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: script:
docker exec -it compiler-workout-ci sh test.sh docker exec -it compiler-workout-ci sh test.sh