aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 516613f..26fbc51 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
language: shell
+if: tag IS present
dist: xenial
os:
- linux
@@ -15,7 +16,7 @@ install:
- which python3 && export PYTHON=python3 || export PYTHON=python
- echo ${PYTHON}
- ${PYTHON} -m pip install -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/ -r requirements.txt
-after_success:
+before_deploy:
- ${PYTHON} setup.py build
- pushd build
- zip vidslice-${TRAVIS_OS_NAME}.zip -r $(ls)/ || powershell Compress-Archive -Path $(ls) -DestinationPath vidslice-${TRAVIS_OS_NAME}.zip