瀏覽代碼

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 年之前
父節點
當前提交
599a61cad2
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .travis.yml

+ 4 - 0
.travis.yml

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