Skip to content

Commit

Permalink
Fixed zip-up for Linux?
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWoodford committed Feb 12, 2020
1 parent 9e9750a commit adc8920
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ script:
- ctest . -C Debug --output-on-failure

before_deploy:
- if [[ "$TRAVIS_OS_NAME" != 'windows' ]]; then ls -lah; ls -lah Debug; fi
- 7z a libsurvive-$TRAVIS_TAG-$TRAVIS_OS_NAME.7z ./Debug/*
- if [[ "$TRAVIS_OS_NAME" == 'linux' ]]; then 7z a ../libsurvive-$TRAVIS_TAG-$TRAVIS_OS_NAME.7z . -xr@../travis-exclusion.lst; fi
- if [[ "$TRAVIS_OS_NAME" == 'windows' ]]; then 7z a libsurvive-$TRAVIS_TAG-$TRAVIS_OS_NAME.7z ./Debug/*; fi

deploy:
- provider: releases
Expand Down
10 changes: 10 additions & 0 deletions travis-exclusion.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CMakeFiles
src
cmake_install.cmake
CTestTestfile.cmake
Makefile
CMakeCache.txt
redist/CMakeFiles
redist/cmake_install.cmake
redist/CTestTestfile.cmake
redist/Makefile

0 comments on commit adc8920

Please sign in to comment.