File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ rust: nightly
5
5
os :
6
6
- linux
7
7
- osx
8
+ - windows
8
9
9
10
sudo : false
10
11
@@ -23,7 +24,7 @@ before_install:
23
24
24
25
install :
25
26
- |
26
- if [ -z ${INTEGRATION} ]; then
27
+ if [ -z ${INTEGRATION} ] && [ "$TRAVIS_OS_NAME" == "linux" ] ; then
27
28
. $HOME/.nvm/nvm.sh
28
29
nvm install stable
29
30
nvm use stable
@@ -36,6 +37,8 @@ matrix:
36
37
env : BASE_TESTS=true
37
38
- os : linux
38
39
env : BASE_TESTS=true
40
+ - os : windows
41
+ env : BASE_TEST=true
39
42
- env : INTEGRATION=rust-lang/cargo
40
43
- env : INTEGRATION=rust-lang-nursery/rand
41
44
- env : INTEGRATION=rust-lang-nursery/stdsimd
@@ -49,10 +52,14 @@ matrix:
49
52
- env : INTEGRATION=serde-rs/serde
50
53
- env : INTEGRATION=Geal/nom
51
54
- env : INTEGRATION=hyperium/hyper
55
+ allow_failures :
56
+ - os : windows
57
+ env : BASE_TEST=true
52
58
# prevent these jobs with default env vars
53
59
exclude :
54
60
- os : linux
55
61
- os : osx
62
+ - os : windows
56
63
57
64
script :
58
65
- |
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ set -ex
14
14
echo " Running clippy base tests"
15
15
16
16
PATH=$PATH :./node_modules/.bin
17
- remark -f * .md > /dev/null
17
+ if [ " $TRAVIS_OS_NAME " == " linux" ]; then
18
+ remark -f * .md > /dev/null
19
+ fi
18
20
# build clippy in debug mode and run tests
19
21
cargo build --features debugging
20
22
cargo test --features debugging
You can’t perform that action at this time.
0 commit comments