about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2018-11-28 07:19:49 +0100
committerGitHub <noreply@github.com>2018-11-28 07:19:49 +0100
commitab5b75ae86fed974007a2cc916ef5734fbe07db3 (patch)
tree9b04280c73eef94fb72a3cc2972ace12114f6c06
parentb2601beb35b56fd33bd387a1faeccd3ae02352ed (diff)
parent27a69bd66c4d15608d093b75c4647fc10d88882b (diff)
downloadrust-ab5b75ae86fed974007a2cc916ef5734fbe07db3.tar.gz
rust-ab5b75ae86fed974007a2cc916ef5734fbe07db3.zip
Merge pull request #3464 from flip1995/no_fork_integration
Don't run integration tests in forks
-rw-r--r--.travis.yml20
1 files changed, 18 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 8730535d629..5338c7622e9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,6 +41,9 @@ install:
       fi
     fi
 
+# disabling the integration tests in forks should be done with
+# if: fork = false
+# but this is currently buggy travis-ci/travis-ci#9118
 matrix:
   include:
     - os: osx # run base tests on both platforms
@@ -48,23 +51,36 @@ matrix:
     - os: linux
       env: BASE_TESTS=true
     - os: windows
-      env: BASE_TEST=true
+      env: BASE_TESTS=true
     - env: INTEGRATION=rust-lang/cargo
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-random/rand
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang-nursery/stdsimd
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang/rustfmt
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang-nursery/futures-rs
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang-nursery/failure
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang-nursery/log
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang-nursery/chalk
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=rust-lang/rls
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=chronotope/chrono
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=serde-rs/serde
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=Geal/nom
+      if: repo =~ /^rust-lang\/rust-clippy$/
     - env: INTEGRATION=hyperium/hyper
+      if: repo =~ /^rust-lang\/rust-clippy$/
   allow_failures:
   - os: windows
-    env: BASE_TEST=true
+    env: BASE_TESTS=true
 # prevent these jobs with default env vars
   exclude:
     - os: linux