libc-rs/.travis.yml

30 lines
815 B
YAML
Raw Normal View History

2015-01-13 16:53:42 +01:00
language: rust
2015-09-10 08:48:14 +02:00
rust:
2015-09-10 19:59:37 +02:00
- 1.2.0
2015-09-10 08:48:14 +02:00
- beta
- nightly
2015-01-13 16:53:42 +01:00
sudo: false
2015-09-10 08:48:14 +02:00
install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then OS=unknown-linux-gnu; else OS=apple-darwin; fi
- export TARGET=$ARCH-$OS
- curl -sO https://static.rust-lang.org/dist/rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
- tar xf rust-$TRAVIS_RUST_VERSION-$TARGET.tar.gz
- rm -rf $HOME/rust/lib/rustlib/$TARGET
- mv rust-$TRAVIS_RUST_VERSION-$TARGET/rustc/lib/rustlib/$TARGET $HOME/rust/lib/rustlib
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
2015-01-13 16:53:42 +01:00
script:
2015-09-10 08:48:14 +02:00
- cargo test --target $TARGET
- cargo test --target $TARGET --manifest-path libc-test/Cargo.toml
- cargo doc --no-deps
2015-01-13 16:53:42 +01:00
notifications:
email:
on_success: never
2015-09-10 08:49:09 +02:00
env:
2015-09-10 20:15:33 +02:00
- ARCH=x86_64 CC=clang
- ARCH=i686 CC=clang
2015-09-10 08:48:14 +02:00
os:
- linux
- osx