From 3159e20814ecd21db57dbc8a821c11b6c5b6d097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Mon, 11 Jul 2016 18:56:28 +0200 Subject: [PATCH] Build fixes --- .travis.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5dd844b10..d9aa5965c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,9 +47,6 @@ addons: - gcc-4.8 - g++-4.8 -script: - - if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi - install: | [ "$RUN_COVERAGE" = "false" ] || (wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz && @@ -60,12 +57,15 @@ install: | make && make install DESTDIR=../tmp && cd) -after_success: - - true && [ "$RUN_COVERAGE" = "true" ] && ./scripts/cov.sh "$KCOV_CMD" - - true && [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - [ $TRAVIS_RUST_VERSION = stable ] && - ./scripts/doc.sh && - pip install --user ghp-import && - /home/travis/.local/bin/ghp-import -n target/doc && - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages +script: + - if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi + - if [ "$RUN_COVERAGE" = "true" ]; then ./scripts/cov.sh "$KCOV_CMD"; fi + +after_success: | + [ $TRAVIS_BRANCH = master ] && + [ $TRAVIS_PULL_REQUEST = false ] && + [ $TRAVIS_RUST_VERSION = stable ] && + ./scripts/doc.sh && + pip install --user ghp-import && + /home/travis/.local/bin/ghp-import -n target/doc && + git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages