fix env check

This commit is contained in:
Nikolay Kim 2017-06-15 15:33:06 -07:00
parent b0f25f8e42
commit 61138f9889

View file

@ -36,9 +36,8 @@ script:
# Upload docs # Upload docs
after_success: after_success:
- echo $TRAVIS_PYTHON_VERSION
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && TRAVIS_PYTHON_VERSION = "3.6.1" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then
cargo doc --no-deps && cargo doc --no-deps &&
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html && echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
git clone https://github.com/davisp/ghp-import.git && git clone https://github.com/davisp/ghp-import.git &&