gecko-dev/third_party/rust/rayon/.travis.yml
Kartikaya Gupta 868a8d8bd5 Bug 1438892 - Update Cargo lockfiles and re-vendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: wsncokjtul

--HG--
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-deque/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-deque/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-epoch/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-epoch/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/crossbeam-utils/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/crossbeam-utils/LICENSE-MIT
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/rayon-0.8.2/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/rayon-0.8.2/LICENSE-MIT
rename : third_party/rust/rayon/src/iter/README.md => third_party/rust/rayon-0.8.2/src/iter/README.md
rename : third_party/rust/rayon/src/iter/internal.rs => third_party/rust/rayon-0.8.2/src/iter/internal.rs
rename : third_party/rust/rayon/tests/compile-fail-unstable/future_escape.rs => third_party/rust/rayon-0.8.2/tests/compile-fail-unstable/future_escape.rs
rename : third_party/rust/rayon/tests/run-pass/sort-panic-safe.rs => third_party/rust/rayon-0.8.2/tests/run-pass/sort-panic-safe.rs
rename : third_party/rust/coco/LICENSE-APACHE => third_party/rust/rayon-core/LICENSE-APACHE
rename : third_party/rust/coco/LICENSE-MIT => third_party/rust/rayon-core/LICENSE-MIT
extra : rebase_source : fad67f2d82c7b49554ce9b03fb12da3d4b66a378
2018-02-20 09:05:08 -05:00

98 lines
2.4 KiB
YAML

language: rust
# Using 16MB stacks for deep test/debug recursion
env:
global:
- RUST_MIN_STACK=16777216
matrix:
fast_finish: true
include:
# NB: To help with CI delays, each `pull_request` is only tested on Linux,
# with 1.13 for compatibility and nightly+rayon_unstable for broad test
# coverage. The bors bot counts as a `push` type, which will run it all.
- rust: 1.13.0
os: linux
#if: everything!
before_script:
# rand 0.4.2 requires rust 1.15, and rand-0.3.22 requires rand-0.4 :/
# manually hacking the lockfile due to the limitations of cargo#2773
- cargo generate-lockfile
- sed -i -e 's/"rand 0.[34].[0-9]\+/"rand 0.3.20/' Cargo.lock
- sed -i -e '/^name = "rand"/,/^$/s/version = "0.3.[0-9]\+"/version = "0.3.20"/' Cargo.lock
- rust: stable
os: linux
if: NOT type = pull_request
- rust: stable
os: linux
env: RUSTFLAGS='--cfg rayon_unstable'
if: NOT type = pull_request
- rust: beta
os: linux
if: NOT type = pull_request
- rust: beta
os: linux
env: RUSTFLAGS='--cfg rayon_unstable'
if: NOT type = pull_request
- rust: nightly
os: linux
if: NOT type = pull_request
- rust: nightly
os: linux
env: RUSTFLAGS='--cfg rayon_unstable'
#if: everything!
- rust: stable
os: osx
if: NOT type = pull_request
- rust: stable
os: osx
env: RUSTFLAGS='--cfg rayon_unstable'
if: NOT type = pull_request
- rust: nightly
os: osx
if: NOT type = pull_request
- rust: nightly
os: osx
env: RUSTFLAGS='--cfg rayon_unstable'
if: NOT type = pull_request
# wasm won't actually work without threading, but it builds
- rust: nightly
os: linux
env: TARGET=wasm32-unknown-unknown
script:
- rustup target add $TARGET
- cargo build --target $TARGET
if: NOT type = pull_request
script:
- cargo build
- |
if [ $TRAVIS_RUST_VERSION == nightly ]; then
cargo test -p rayon &&
cargo test -p rayon-core &&
cargo test -p rayon-demo &&
./ci/highlander.sh
fi
- |
if [ -n "$RUSTFLAGS" ]; then
cargo clean &&
cargo build -p rayon-futures &&
if [ $TRAVIS_RUST_VERSION == nightly ]; then
cargo test -p rayon-futures
fi
fi
branches:
only:
- master
- staging
- trying