Travis build only on master branches

Avoid duplicate build on branches created for pull requests
This commit is contained in:
Yannick Vaucher
2021-11-15 11:55:26 +01:00
parent 1ca667e20d
commit d4aa5e7b45
+4
View File
@@ -2,6 +2,10 @@ language: python
sudo: false
cache: pip
branches:
only:
- "/^[[:digit:]]{1,2}.[[:digit:]]$/"
python:
- "3.7"