aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--ci/script.sh4
2 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8e81e822..f7257c93 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,6 +33,7 @@ after_script: set +e
branches:
only:
+ - master
- staging
- trying
diff --git a/ci/script.sh b/ci/script.sh
index 9e91aad5..0d42ff3a 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -18,4 +18,6 @@ main() {
cargo check --target $TARGET --examples
}
-main
+if [ $TRAVIS_BRANCH != master ]; then
+ main
+fi