Merge pull request #422 from containous/fix-travis-tag
Fix travis tag check
This commit is contained in:
commit
a9f9894f29
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ install:
|
||||||
- sudo curl https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION} -o /usr/bin/docker
|
- sudo curl https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION} -o /usr/bin/docker
|
||||||
- sudo chmod +x /usr/bin/docker
|
- sudo chmod +x /usr/bin/docker
|
||||||
- sudo service docker start
|
- sudo service docker start
|
||||||
|
- sleep 5
|
||||||
- docker version
|
- docker version
|
||||||
- pip install --user mkdocs
|
- pip install --user mkdocs
|
||||||
- pip install --user pymdown-extensions
|
- pip install --user pymdown-extensions
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -z "$TRAVIS_TAG" ] && [ "$DOCKER_VERSION" = "1.10.1" ]; then
|
if [ -n "$TRAVIS_TAG" ] && [ "$DOCKER_VERSION" = "1.10.1" ]; then
|
||||||
echo "Deploying..."
|
echo "Deploying..."
|
||||||
else
|
else
|
||||||
echo "Skipping deploy"
|
echo "Skipping deploy"
|
||||||
|
|
Loading…
Reference in a new issue