diff options
-rw-r--r-- | .travis.yml | 14 | ||||
-rw-r--r-- | tests/unstable.rs | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fe51652 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: rust + +script: + - cargo test + +matrix: + include: + - rust: nightly + - rust: beta + env: RUSTFLAGS='--cfg remain_stable_testing' + - rust: stable + env: RUSTFLAGS='--cfg remain_stable_testing' + - rust: 1.31.0 + env: RUSTFLAGS='--cfg remain_stable_testing' diff --git a/tests/unstable.rs b/tests/unstable.rs index 1d78c27..827c59b 100644 --- a/tests/unstable.rs +++ b/tests/unstable.rs @@ -1,3 +1,4 @@ +#![cfg(not(remain_stable_testing))] #![feature(proc_macro_hygiene, stmt_expr_attributes)] #[remain::sorted] |