Skip to content

Commit

Permalink
Use compiletest_rs supported by stable tool-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Mart-Bogdan committed Jan 25, 2019
1 parent cf2d746 commit cf44b1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,2 +1,4 @@
target
Cargo.lock

/.idea/
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -3,16 +3,18 @@ branches:
- /.*(.tmp)$/

language: rust
env: EXTRA_ARGS="--features unstable"
matrix:
include:
# This version is tested to avoid unintentional bumping of the minimum supported Rust version
- rust: 1.20.0
# This version don't support unstable features
env: EXTRA_ARGS=""
- rust: stable
- rust: stable
os: osx
- rust: beta
- rust: nightly
env: EXTRA_ARGS="--features unstable"

sudo: false
script:
Expand Down
2 changes: 1 addition & 1 deletion test_suite/Cargo.toml
Expand Up @@ -7,7 +7,7 @@ unstable = ["compiletest_rs"]

[dependencies]
bitflags = { path = "../" }
compiletest_rs = { version = "*", optional = true }
compiletest_rs = { version = "*", optional = true, features=["stable"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"

0 comments on commit cf44b1b

Please sign in to comment.