only build tags

This commit is contained in:
Jack Robison 2018-10-19 12:12:16 -04:00
parent d6307cabc3
commit 16c671047f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -31,8 +31,10 @@ jobs:
name: "Unit Tests w/ Python 3.6" name: "Unit Tests w/ Python 3.6"
python: "3.6" python: "3.6"
if: tag IS present
- &build - &build
name: "Linux" name: "Linux Release"
python: "3.6" python: "3.6"
install: install:
- pip install pyinstaller - pip install pyinstaller
@ -44,6 +46,7 @@ jobs:
- zip -j dist/aioupnp-${OS}.zip dist/aioupnp - zip -j dist/aioupnp-${OS}.zip dist/aioupnp
env: OS=linux env: OS=linux
addons: addons:
artifacts: artifacts:
working_dir: dist working_dir: dist
@ -51,7 +54,7 @@ jobs:
- aioupnp-${OS}.zip - aioupnp-${OS}.zip
- <<: *build - <<: *build
name: "Mac" name: "Mac Release"
os: osx os: osx
osx_image: xcode9.4 osx_image: xcode9.4
language: generic language: generic
@ -61,7 +64,7 @@ jobs:
- pip3 install -e . - pip3 install -e .
- <<: *build - <<: *build
name: "Windows" name: "Windows Release"
language: generic language: generic
services: services:
- docker - docker