Travis: fix in test of whether the docker configuration has changed
This commit is contained in:
parent
b05b96938e
commit
7b38f46aba
@ -7,7 +7,7 @@ notifications:
|
||||
# Environment setup before test script. Runs for each build
|
||||
before_install:
|
||||
# Check if anything has changed within the docker directory
|
||||
- DOCKER_CHANGED=`git diff --name-only $TRAVIS_BRANCH...HEAD -- tools/docker | wc -l`
|
||||
- DOCKER_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE -- tools/docker | wc -l`
|
||||
# If Docker directory has not changed, pull image from Dockerhub. Else, build
|
||||
# image from Dockerifle. This needs to be done for each job. Any build error
|
||||
# will count as Travis test failure. In case this updates develop, push new
|
||||
|
Loading…
Reference in New Issue
Block a user