зеркало из https://github.com/mozilla/gecko-dev.git
41 строка
1.2 KiB
YAML
41 строка
1.2 KiB
YAML
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
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
|
|
- rustdoc --test README.md -L target/debug -L target/debug/deps
|
|
after_success:
|
|
- travis-cargo --only nightly doc-upload
|
|
env:
|
|
global:
|
|
secure: ilbcq9zX+UaiBcwqkBGldeanbEQus9npLsi0/nF1PUxKbQsoWSVtVOehAD8Hy92D3hX2npIRyNL8GxBn85XEcBYc1h7DiWUhLcXfZie79v8Ly/qboHCfZLXlB1ofbypbyQfouEdOE9zHf0ZILYVpAgUkliv6KuVShsrKNlbn4QE=
|
|
matrix:
|
|
- ARCH=x86_64
|
|
- ARCH=i686
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
os:
|
|
- linux
|
|
- osx
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- g++-multilib
|