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 12:37:31 +01:00
parent 9993596aee
commit be42b2fdfd
+4
View File
@@ -2,6 +2,10 @@ language: python
sudo: false
cache: pip
branches:
only:
- "/^[[:digit:]]{1,2}.[[:digit:]]$/"
python:
- "3.5"