Browse Source

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.
Alexander Gessler 10 years ago
parent
commit
599a61cad2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .travis.yml

+ 4 - 0
.travis.yml

@@ -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