aboutsummaryrefslogtreecommitdiff
path: root/gcc/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/.travis.yml')
-rw-r--r--gcc/.travis.yml49
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