aboutsummaryrefslogtreecommitdiff
path: root/bitflags/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'bitflags/.travis.yml')
-rw-r--r--bitflags/.travis.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/bitflags/.travis.yml b/bitflags/.travis.yml
new file mode 100644
index 0000000..9dd45c4
--- /dev/null
+++ b/bitflags/.travis.yml
@@ -0,0 +1,39 @@
+branches:
+ except:
+ - /.*(.tmp)$/
+
+language: rust
+matrix:
+ include:
+ # This version is tested to avoid unintentional bumping of the minimum supported Rust version
+ - rust: 1.20.0
+ env:
+ - LABEL="msrv"
+ script:
+ - cargo test
+ - rust: stable
+ env:
+ - LABEL="no-std"
+ script:
+ - rustup target add thumbv6m-none-eabi
+ - cargo build --features example_generated --target thumbv6m-none-eabi
+ - rust: nightly
+ env:
+ - LABEL="compiletest"
+ script:
+ - cargo test
+ - cargo test -p test_suite --features unstable
+ - rust: stable
+ - rust: stable
+ os: osx
+ - rust: beta
+ allow_failures:
+ - rust: nightly
+
+sudo: false
+script:
+ - cargo test --all
+
+notifications:
+ email:
+ on_success: never