Skip to content

Commit

Permalink
Configure Travis builds for branches and PRs (#67)
Browse files Browse the repository at this point in the history
Only build master and develop branches when pushed. When a PR is made on
GitHub travis will start a build as well.
  • Loading branch information
tombruijn authored and jeffkreeftmeijer committed Jan 12, 2017
1 parent ed5b588 commit 980bc70
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ elixir:
otp_release:
- 19.0
- 18.3

branches:
only:
- "master"
- "develop"

script: MIX_ENV=test mix compile --warnings-as-errors && MIX_ENV=test mix test

0 comments on commit 980bc70

Please sign in to comment.