Skip to content

Commit

Permalink
Only build on pushes to master
Browse files Browse the repository at this point in the history
PRs are automatically handled so those branches don't need to have a
double build (once for the PR, once for the push to another branch).

We don't use any other branches besides `master`, so this will save us
CPU cycles.
  • Loading branch information
mbrukman committed Jan 25, 2020
1 parent 520ec7e commit 6693ad2
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
Expand Up @@ -14,4 +14,8 @@

language: generic

branches:
only:
- master

script: make test

0 comments on commit 6693ad2

Please sign in to comment.