mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
Allow nightly builds to fail. (#743)
* tests: allow nightly builds to fail Signed-off-by: Toby Lawrence <[email protected]>
This commit is contained in:
+7
-2
@@ -19,6 +19,7 @@ matrix:
|
||||
- rust: stable
|
||||
- rust: beta
|
||||
- rust: nightly
|
||||
env: ALLOW_FAILURES=true
|
||||
- os: osx
|
||||
- env: TARGET=x86_64-unknown-freebsd
|
||||
- env: TARGET=i686-unknown-freebsd
|
||||
@@ -31,15 +32,19 @@ matrix:
|
||||
script: |
|
||||
cd tokio-async-await
|
||||
cargo check --all
|
||||
|
||||
# This runs TSAN against nightly and allows failures to propagate up.
|
||||
- rust: nightly-2018-11-18
|
||||
env: TSAN=yes
|
||||
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
env: ALLOW_FAILURES=true
|
||||
|
||||
|
||||
script:
|
||||
- |
|
||||
set -e
|
||||
if [[ "$TRAVIS_RUST_VERSION" == nightly ]]
|
||||
if [[ "$TRAVIS_RUST_VERSION" == nightly && "$TSAN" == yes ]]
|
||||
then
|
||||
# Make sure the benchmarks compile
|
||||
cargo build --benches --all
|
||||
|
||||
Reference in New Issue
Block a user