Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running tests on on "stable" Rust #171

Merged
merged 1 commit into from Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 = "0.3.18", optional = true, features=["stable"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"