mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
4f41a040ca
This updates the following third-party dependencies of mozjs_sys: gcc v0.3.40 -> v0.3.42 libc v0.2.18 -> v0.2.20 libz-sys v1.0.10 -> v1.0.12 pkg-config v0.3.8 -> v0.3.9 Since libc is updated, we also need to update the gkrust lockfiles to use the new version, because leaving it at 0.2.18 will result in improper vendoring of the crates (see bug 1336528). None of the other mozjs_sys crates are shared by gkrust. MozReview-Commit-ID: 5FHELF8YKD0 --HG-- extra : rebase_source : a6a4d635d4a3b9c2faa23f935c4be59e8588fbbf
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
matrix:
|
|
include:
|
|
# Minimum version supported
|
|
- rust: 1.6.0
|
|
install:
|
|
script: cargo build
|
|
|
|
sudo: false
|
|
install:
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi
|
|
- export TARGET=$ARCH-$OS
|
|
- curl https://static.rust-lang.org/rustup.sh |
|
|
sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
|
|
before_script:
|
|
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
|
|
script:
|
|
- cargo build --verbose
|
|
- cargo test --verbose
|
|
- cargo test --verbose --features parallel
|
|
- cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET
|
|
- cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET --features parallel
|
|
- cargo test --manifest-path gcc-test/Cargo.toml --target $TARGET --release
|
|
- cargo doc
|
|
- cargo clean && cargo build
|
|
- rustdoc --test README.md -L target/debug -L target/debug/deps
|
|
after_success:
|
|
- travis-cargo --only nightly doc-upload
|
|
env:
|
|
global:
|
|
secure: "CBtqrudgE0PS8x3kTr44jKbC2D4nfnmdYVecooNm0qnER4B4TSvZpZSQoCgKK6k4BYQuOSyFTOwYx6M79w39ZMOgyCP9ytB+tyMWL0/+ZuUQL04yVg4M5vd3oJMkOaXbvG56ncgPyFrseY+FPDg+mXAzvJk/nily37YXjkQj2D0="
|
|
|
|
matrix:
|
|
- ARCH=x86_64
|
|
- ARCH=i686
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
os:
|
|
- linux
|
|
- osx
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- g++-multilib
|