summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-04-18 14:57:22 +0100
committerMichael Williamson <mike@zwobble.org>2020-04-18 14:57:22 +0100
commitffacae17b9cb5a19dcbc7049e7e65d42926c4f97 (patch)
tree2f4b56037e9cea34a7395c58514e7c5f3fabbdfa
parentca10a06bf24a34459be8204fdf24d6fc0c4dcb86 (diff)
Only build wheels for tagged versions
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index ae49f3b..117da94 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,8 @@ python:
jobs:
include:
- - name: "Linux wheels"
+ - if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.(dev|a|b|rc)[0-9]+)?$/
+ name: "Linux wheels"
services:
- "docker"
python: "3.8"
@@ -24,7 +25,8 @@ jobs:
- python3 -m cibuildwheel --output-dir wheelhouse
- twine check wheelhouse/*
- - name: "OS X wheels"
+ - if: tag =~ /^([0-9]+\.[0-9]+\.[0-9]+)(\.(dev|a|b|rc)[0-9]+)?$/
+ name: "OS X wheels"
os: osx
osx_image: xcode11.2
language: "shell"