]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #62141 - alexcrichton:less-assertions, r=pietroalbini
authorMazdak Farrokhzad <twingoow@gmail.com>
Wed, 26 Jun 2019 09:33:42 +0000 (11:33 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 09:33:42 +0000 (11:33 +0200)
ci: Disable assertions in PR builds

The PR builder on Azure currently takes 2.5h which is a bit long, so
this commit disables debug assertions and llvm assertions in an attempt
to speed up that builder and have PR builds come back a bit more
quickly. Other builders continue to enable debug assertions and test the
compiler there.

.travis.yml

index 3d185b4f0c9ff6bc56b12442f4c653be4b0e6920..464e95606e83171dc0cdacc4209a3d0be595c859 100644 (file)
@@ -22,7 +22,7 @@ matrix:
     # Images used in testing PR and try-build should be run first.
     - env: IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1
       name: x86_64-gnu-llvm-6.0
-      if: type = pull_request OR branch = auto
+      if: branch = auto
 
     - env: IMAGE=dist-x86_64-linux DEPLOY=1
       name: dist-x86_64-linux
@@ -227,7 +227,7 @@ matrix:
       if: branch = auto
     - env: IMAGE=mingw-check
       name: mingw-check
-      if: type = pull_request OR branch = auto
+      if: branch = auto
 
     - stage: publish toolstate
       if: branch = master AND type = push