Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e78039

Browse files
committedJan 31, 2017
Add the log crate to dev-dependencies.
1 parent aa7981c commit 3e78039

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
 

‎.travis.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ language: rust
22
matrix:
33
include:
44
- rust: stable
5-
env: FEATURES='use_std'
5+
env: FEATURES='use_std' SKIP_TESTS=''
66
- rust: beta
7-
env: FEATURES='use_std'
7+
env: FEATURES='use_std' SKIP_TESTS=''
88
- rust: nightly
9-
env: FEATURES='use_std'
9+
env: FEATURES='use_std' SKIP_TESTS=''
1010
- rust: nightly
11-
env: FEATURES='use_std use_log'
11+
env: FEATURES='use_std use_log' SKIP_TESTS=''
1212
- rust: nightly
13-
env: FEATURES='use_alloc use_collections'
13+
env: FEATURES='use_alloc use_collections' SKIP_TESTS='true'
1414
- rust: nightly
15-
env: FEATURES=''
15+
env: FEATURES='' SKIP_TESTS='true'
1616
allow_failures:
1717
- rust: stable # until 1.15 comes out
1818
script:
19-
- cargo test --no-default-features --features "$FEATURES"
19+
- cargo build --no-default-features --features "$FEATURES"
20+
- ${SKIP_TESTS} cargo test --no-default-features --features "$FEATURES"
2021
notifications:
2122
irc:
2223
channels:

‎Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ log = { version = "0.3", default-features = false, optional = true }
1717
libc = { version = "0.2.18", optional = true }
1818

1919
[dev-dependencies]
20+
log = "0.3"
2021
env_logger = "0.4"
2122
getopts = "0.2"
2223

0 commit comments

Comments
 (0)
Please sign in to comment.