aboutsummaryrefslogtreecommitdiff
path: root/cc/.travis.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2018-01-15 09:36:38 -0800
committerDaniel Mueller <deso@posteo.net>2018-01-15 09:36:38 -0800
commitf3149d7f2802711791c490b71313aafc55f4809c (patch)
treecd0247b0d856be8b9e010738646965233aa60c93 /cc/.travis.yml
parentd8a58488bd56ef9c09e167173124c3519bc7405d (diff)
downloadnitrocli-f3149d7f2802711791c490b71313aafc55f4809c.tar.gz
nitrocli-f3149d7f2802711791c490b71313aafc55f4809c.tar.bz2
Update hidapi-sys crate to 0.1.4
This change updates the hidapi-sys crate to version 0.1.4. In this version the cc crate (the stable and renamed version of the gcc crate) is used. Import subrepo hidapi-sys/:hidapi-sys at c01043da72c0cac898660017e4c4115278c14369 Import subrepo cc/:cc at 500c65b03775cecf55bd358e616963bc3222acca
Diffstat (limited to 'cc/.travis.yml')
-rw-r--r--cc/.travis.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/cc/.travis.yml b/cc/.travis.yml
new file mode 100644
index 0000000..6f3c53d
--- /dev/null
+++ b/cc/.travis.yml
@@ -0,0 +1,53 @@
+language: rust
+sudo: false
+
+matrix:
+ include:
+ - rust: 1.13.0
+ install:
+ script: cargo build
+ - rust: stable
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - rust: stable
+ env: TARGET=i686-unknown-linux-gnu
+ - os: osx
+ env: TARGET=x86_64-apple-darwin NO_ADD=1
+ - rust: beta
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+ - rust: nightly
+ env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
+
+ - rust: nightly
+ before_script:
+ - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
+ install:
+ script:
+ - cargo doc --no-deps --all-features
+ after_success:
+ - travis-cargo --only nightly doc-upload
+
+install:
+ - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
+
+script:
+ - cargo build --verbose
+ - cargo test --verbose
+ - cargo test --verbose --features parallel
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel
+ - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release
+ - cargo doc
+ - cargo clean && cargo build
+ - rustdoc --test README.md -L target/debug -L target/debug/deps
+
+env:
+ global:
+ secure: "CBtqrudgE0PS8x3kTr44jKbC2D4nfnmdYVecooNm0qnER4B4TSvZpZSQoCgKK6k4BYQuOSyFTOwYx6M79w39ZMOgyCP9ytB+tyMWL0/+ZuUQL04yVg4M5vd3oJMkOaXbvG56ncgPyFrseY+FPDg+mXAzvJk/nily37YXjkQj2D0="
+
+notifications:
+ email:
+ on_success: never
+addons:
+ apt:
+ packages:
+ - g++-multilib