From ffacae17b9cb5a19dcbc7049e7e65d42926c4f97 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 18 Apr 2020 14:57:22 +0100 Subject: Only build wheels for tagged versions --- .travis.yml | 6 ++++-- 1 file 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" -- cgit v1.2.3