From e929801c7e6bca80d3894ebc4c682a1a9b75b006 Mon Sep 17 00:00:00 2001 From: bluss Date: Mon, 14 Dec 2015 04:22:58 +0100 Subject: [PATCH] Update travis.yml to only build master branch --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7e2bcbe..bbfd88c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"