From cc74207939684e52e7ef14a19c7db61c28220c58 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 27 Feb 2019 00:09:55 -0700 Subject: don't run anything if not a release --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3