Restrict travis build to master branch.

We want the build badge on the front page to be always green. Branches can fail, that's fine, but currently this gives the impression that all of assimp is failing. Branches should do pull requests against master to get a CI build. Such PRs can be marked "do not merge" and updated indefinitely.
pull/502/head
Alexander Gessler 2015-03-16 23:20:00 +01:00
parent adc44d1e83
commit 599a61cad2
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
before_install: before_install:
- sudo apt-get install cmake python3 - sudo apt-get install cmake python3
branches:
only:
- master
env: env:
matrix: matrix:
- LINUX=1 TRAVIS_NO_EXPORT=YES - LINUX=1 TRAVIS_NO_EXPORT=YES