Fixed travis ci yaml.

This commit is contained in:
Shuai Lin 2016-12-21 16:02:49 +08:00
parent b76657f807
commit 34161680a8
2 changed files with 4 additions and 1 deletions

View file

@ -16,4 +16,3 @@ install:
script:
- ci/ci.sh
- [[ $TRAVIS_TAG == "" ]] || ci/publish-image.sh

View file

@ -18,3 +18,7 @@ sudo ./launcher start --docker-args "--memory 1g" && sleep 10
sudo ./launcher restart
sudo ./launcher -v rebuild
sudo ./launcher -v rebuild --docker-args "--memory 1g"
if [[ $TRAVIS_TAG != "" ]]; then
ci/publish-image.sh
fi