From 16c671047f98b993fe1724ad07af0500e9e5570b Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 19 Oct 2018 12:12:16 -0400 Subject: [PATCH] only build tags --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d39d83..9abb225 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,8 +31,10 @@ jobs: name: "Unit Tests w/ Python 3.6" python: "3.6" + +if: tag IS present - &build - name: "Linux" + name: "Linux Release" python: "3.6" install: - pip install pyinstaller @@ -44,6 +46,7 @@ jobs: - zip -j dist/aioupnp-${OS}.zip dist/aioupnp env: OS=linux + addons: artifacts: working_dir: dist @@ -51,7 +54,7 @@ jobs: - aioupnp-${OS}.zip - <<: *build - name: "Mac" + name: "Mac Release" os: osx osx_image: xcode9.4 language: generic @@ -61,7 +64,7 @@ jobs: - pip3 install -e . - <<: *build - name: "Windows" + name: "Windows Release" language: generic services: - docker