Also test tagged releases

This commit is contained in:
Jon Gjengset 2018-11-24 15:20:51 -05:00
parent 86d4da84d7
commit 7675efb230
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71

View file

@ -5,9 +5,9 @@ rust:
- beta - beta
- nightly - nightly
# only test master on push # only test master and tagged releases on push
# always test things that aren't pushes (like PRs) # always test things that aren't pushes (like PRs)
if: type != push OR branch = master if: type != push OR branch = master OR branch =~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/
before_script: before_script:
- if [[ "$INTEGRATION" == "true" ]]; then - if [[ "$INTEGRATION" == "true" ]]; then