Skip to content

Commit

Permalink
travis-ci: build all branches instead of only master
Browse files Browse the repository at this point in the history
So all new dev branches are built automatically without having to either
manually add the branch name to .travis.yml or being forced to create a
PR.

This creates redundant build on the same commit when PR is created but
otherwise no other harms.

No redundant build on PR merge since a brand new commit is created for
both merge commit or squash commit scenario.

See discussion
Ouranosinc/raven#292 (comment)
  • Loading branch information
tlvu committed Jul 28, 2020
1 parent 1851bff commit af85b84
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions {{cookiecutter.project_repo_name}}/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ os:
python:
- "3.6"
- "3.7"
branches:
only:
- master
jobs:
include:
- os: osx
Expand Down

0 comments on commit af85b84

Please sign in to comment.