Skip to content

Commit

Permalink
Travis build only on master branches
Browse files Browse the repository at this point in the history
Avoid duplicate build on branches created for pull requests
  • Loading branch information
yvaucher committed Nov 15, 2021
1 parent b7f5afe commit e335d98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
sudo: false
language: python

branches:
only:
- "/^[[:digit:]]{1,2}.[[:digit:]]$/"

cache:
apt: true
directories:
Expand Down

0 comments on commit e335d98

Please sign in to comment.