22 lines
699 B
YAML
22 lines
699 B
YAML
language: rust
|
|
rust:
|
|
- nightly
|
|
before_script:
|
|
- |
|
|
pip install 'travis-cargo<0.2' --user &&
|
|
export PATH=$HOME/.local/bin:$PATH
|
|
- sh ~/rust-installer/rustup.sh --add-target=i686-unknown-linux-gnu --prefix=/home/travis/rust -y --disable-sudo
|
|
- sh ~/rust-installer/rustup.sh --add-target=i686-pc-windows-gnu --prefix=/home/travis/rust -y --disable-sudo
|
|
- sh ~/rust-installer/rustup.sh --add-target=i686-pc-windows-msvc --prefix=/home/travis/rust -y --disable-sudo
|
|
script:
|
|
- |
|
|
env RUST_SYSROOT=$HOME/rust travis-cargo build &&
|
|
env RUST_SYSROOT=$HOME/rust travis-cargo test
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
env:
|
|
global:
|
|
- RUST_TEST_NOCAPTURE=1
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|