From e1d51e70d26ebd92ef3e24f023ff2195de03b385 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Mon, 18 Jun 2018 20:56:30 +0100 Subject: Travis script didn't work at all :( --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 10bd020a..cd5fceaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -88,7 +88,7 @@ before_install: script: - - if [ "$__" = "cmake tests (error_code)" || "$__" = "cmake tests (status_code)" ]; then + if [ "$__" = "cmake tests" ] || [ "$__" = "cmake tests (error_code)" ] || [ "$__" = "cmake tests (status_code)" ]; then ctest -S .ci.cmake -V --timeout 300 -DCTEST_CONFIGURE_OPTIONS=$CMAKE_CONFIGURE_OPTIONS ; fi - @@ -118,7 +118,7 @@ script: after_success: # - bash -x ./update_coveralls.sh `pwd` # - NEWNAME=afio-v2.0-binaries-linux64-$(date +%Y%m%d%H%M%S).tgz - - if [ "${TRAVIS_OS_NAME}" = "linux" && "$CXX" = "clang++-4.0" && "$__" = "cmake tests (error_code)" ]; then + - if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "$CXX" = "clang++-4.0" ] && [ "$__" = "cmake tests (error_code)" ]; then NEWNAME=afio-v2.0-binaries-linux64-$TRAVIS_COMMIT.tgz; mv afio-v2.0-binaries-linux64.tgz $NEWNAME; curl -T $NEWNAME -u jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD https://dedi5.nedprod.com/static/files/upload/; fi; -- cgit v1.2.3