diff options
-rw-r--r-- | .ci.cmake | 4 | ||||
-rw-r--r-- | .travis.yml | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -34,11 +34,13 @@ if(WIN32) COMMAND xcopy prebuilt\\lib\\Release\\afio_sl-2.0-Windows-x64-Release.lib afio\\prebuilt\\lib\\Release\\ COMMAND xcopy prebuilt\\lib\\Release\\ntkernel-error-category_sl.lib afio\\prebuilt\\lib\\Release\\ COMMAND xcopy prebuilt\\lib\\Release\\afio_dl-2.0-Windows-x64-Release.lib afio\\prebuilt\\lib\\Release\\ + ) + checked_execute_process("Tarring up binaries 4" COMMAND xcopy prebuilt\\lib\\Release\\ntkernel-error-category_dl.lib afio\\prebuilt\\lib\\Release\\ COMMAND xcopy prebuilt\\bin\\Release\\afio_dl-2.0-Windows-x64-Release.dll afio\\prebuilt\\bin\\Release\\ COMMAND xcopy prebuilt\\bin\\Release\\ntkernel-error-category_dl.dll afio\\prebuilt\\bin\\Release\\ ) - checked_execute_process("Tarring up binaries 4" + checked_execute_process("Tarring up binaries final" COMMAND 7za a -tzip afio-v2.0-binaries-win64.zip afio\\ ) get_filename_component(toupload afio-v2.0-binaries-win64.zip ABSOLUTE) diff --git a/.travis.yml b/.travis.yml index 5f7890bb..13ab1a7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -106,6 +106,6 @@ after_success: # - NEWNAME=afio-v2.0-binaries-linux64-$(date +%Y%m%d%H%M%S).tgz - 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://dedi4.nedprod.com/static/files/upload/ + - if [ "$CXX" = "g++-7" ]; then curl -T $NEWNAME -u jenkins-nedprod:$JENKINS_NEDPROD_PASSWORD https://dedi4.nedprod.com/static/files/upload/; fi; after_failure: |