Merge pull request #422 from containous/fix-travis-tag

Fix travis tag check
This commit is contained in:
Emile Vauge 2016-05-31 00:15:58 +02:00
commit a9f9894f29
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ install:
- sudo curl https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION} -o /usr/bin/docker
- sudo chmod +x /usr/bin/docker
- sudo service docker start
- sleep 5
- docker version
- pip install --user mkdocs
- pip install --user pymdown-extensions

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -e
if [ -z "$TRAVIS_TAG" ] && [ "$DOCKER_VERSION" = "1.10.1" ]; then
if [ -n "$TRAVIS_TAG" ] && [ "$DOCKER_VERSION" = "1.10.1" ]; then
echo "Deploying..."
else
echo "Skipping deploy"