aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2019-02-27 00:09:55 -0700
committerMelody Horn <melody@boringcactus.com>2019-02-27 00:09:55 -0700
commitcc74207939684e52e7ef14a19c7db61c28220c58 (patch)
tree395b038618413d665f6500e7e4be66a97619d574
parent6bd4bc0a0af8ff992d12aab5cc53afd83c6a57b3 (diff)
downloadvidslice-cc74207939684e52e7ef14a19c7db61c28220c58.tar.gz
vidslice-cc74207939684e52e7ef14a19c7db61c28220c58.zip
don't run anything if not a release
-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