Update travis.yml to only build master branch

This commit is contained in:
bluss
2015-12-14 04:22:58 +01:00
parent 2d55a2d507
commit e929801c7e
+3
View File
@@ -8,6 +8,9 @@ matrix:
- rust: nightly
env:
- NODROP_FEATURES='no_drop_flag use_needs_drop'
branches:
only:
- master
script:
- |
[ -z "$NODROP_FEATURES" ] && cargo build --verbose --features "$FEATURES"