Explicitly run cpack with Release config on Travis

This commit is contained in:
Oliver Hamlet
2016-11-14 21:47:14 +00:00
parent 852aee5e0c
commit 0f27192051
+1 -3
View File
@@ -30,9 +30,7 @@ script:
- python -m unittest test
after_success:
# Get the full repo history before trying to run the archiver.
- git fetch --unshallow
- ../cmake-3.6.2-Linux-x86_64/bin/cpack
- ../cmake-3.6.2-Linux-x86_64/bin/cpack -C Release
- cd $TRAVIS_BUILD_DIR
# Need to replace the Bintray config files' version placeholders.
- VERSION=$(ls build/package/loot_api_python-*.tar.xz | sed 's/build\/package\/loot_api_python-//;s/-Linux.tar.xz//;')