diff --git a/.travis.yml b/.travis.yml index 8e81e822a7..f7257c93a1 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 9e91aad5e8..0d42ff3a45 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