aboutsummaryrefslogtreecommitdiff
path: root/cc/.travis.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-12-10 21:02:04 -0800
committerDaniel Mueller <deso@posteo.net>2018-12-10 21:02:04 -0800
commit8898de1f97aff9965e1518ca5abb554275183a14 (patch)
treeac7deb92599ec56d67432766b2cf4cd63388833a /cc/.travis.yml
parente2604a756aaddcd5919ee2f1b9cc0055d200f846 (diff)
downloadnitrocli-8898de1f97aff9965e1518ca5abb554275183a14.tar.gz
nitrocli-8898de1f97aff9965e1518ca5abb554275183a14.tar.bz2
Update cc crate to 1.0.25
This change updates the cc crate to version 1.0.25. Import subrepo cc/:cc at fe0a7acb6d3e22e03bf83bcbf89367be888b5448
Diffstat (limited to 'cc/.travis.yml')
-rw-r--r--cc/.travis.yml23
1 files changed, 17 insertions, 6 deletions
diff --git a/cc/.travis.yml b/cc/.travis.yml
index 6f3c53d..70349e6 100644
--- a/cc/.travis.yml
+++ b/cc/.travis.yml
@@ -3,7 +3,7 @@ sudo: false
matrix:
include:
- - rust: 1.13.0
+ - rust: 1.16.0
install:
script: cargo build
- rust: stable
@@ -12,6 +12,8 @@ matrix:
env: TARGET=i686-unknown-linux-gnu
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
+ - os: osx
+ env: TARGET=aarch64-apple-ios NO_RUN=--no-run TARGET_SYSROOT=$(xcrun -sdk iphoneos --show-sdk-path)
- rust: beta
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
- rust: nightly
@@ -31,11 +33,20 @@ install:
script:
- cargo build --verbose
- - cargo test --verbose
- - cargo test --verbose --features parallel
- - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET
- - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel
- - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release
+ # FIXME: no idea why `--test-threads=1` is required on the OSX builder, it
+ # just randomly broke one day when the travis image was upgraded, and
+ # debugging turned up no easily found source of bugs...
+ #
+ # good build - https://travis-ci.org/alexcrichton/cc-rs/builds/409602374
+ # bad build - https://travis-ci.org/alexcrichton/cc-rs/builds/410489079
+ #
+ # Those are using the same compiler, same commit, same... everything. Except
+ # the OSX image! No idea what changed...
+ - cargo test --verbose $NO_RUN -- --test-threads=1
+ - cargo test --verbose --features parallel $NO_RUN -- --test-threads=1
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET $NO_RUN
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel $NO_RUN
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release $NO_RUN
- cargo doc
- cargo clean && cargo build
- rustdoc --test README.md -L target/debug -L target/debug/deps