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:38:45 +01:00
parent 2fe9e4d1f3
commit c926c150af
+4
View File
@@ -2,6 +2,10 @@ language: python
sudo: false
cache: pip
branches:
only:
- "/^[[:digit:]]{1,2}.[[:digit:]]$/"
python:
- "3.6"