diff options
author | Daniel Mueller <deso@posteo.net> | 2017-03-26 17:07:27 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-03-26 17:07:27 -0700 |
commit | 86415f23a86b5a44aa000d513500a9d1d0df4bba (patch) | |
tree | 5a9c513c9531414502de67dda322fca9baac7563 /gcc/.travis.yml | |
parent | 547085cdefb3372e8c42beabac5d45f2f6b1a535 (diff) | |
download | nitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.gz nitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.bz2 |
Import subrepo gcc/:gcc at cf1f00bc038a0df769e14bb85480ab9c12eae08d
Diffstat (limited to 'gcc/.travis.yml')
-rw-r--r-- | gcc/.travis.yml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gcc/.travis.yml b/gcc/.travis.yml new file mode 100644 index 0000000..10d3d13 --- /dev/null +++ b/gcc/.travis.yml @@ -0,0 +1,49 @@ +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 |