diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-06-18 22:56:30 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-06-18 22:56:30 +0300 |
commit | e1d51e70d26ebd92ef3e24f023ff2195de03b385 (patch) | |
tree | abfa074c91497bf8e41d6b0d6d37c72fe649802d | |
parent | 8ffdf18816aee1ec96bc40edd9b95bd80271346a (diff) |
Travis script didn't work at all :(
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | include/afio/v2.0/handle.hpp | 1 |
2 files changed, 3 insertions, 2 deletions
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; diff --git a/include/afio/v2.0/handle.hpp b/include/afio/v2.0/handle.hpp index 483272a2..f51c3fd2 100644 --- a/include/afio/v2.0/handle.hpp +++ b/include/afio/v2.0/handle.hpp @@ -426,6 +426,7 @@ namespace detail { template <class Dest, class Src> inline void fill_failure_info(Dest &dest, const Src &src) { + (void) src; auto &tls = detail::tls_errored_results(); if(!tls.reentering_self) { |