浏览代码

CI: Skip --no-default-features on Rust 1.23.0

Johannes Hofmann 7 年前
父节点
当前提交
a2d2125431
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 4
    1
      .appveyor.yml
  2. 1
    1
      .travis.yml

+ 4
- 1
.appveyor.yml 查看文件

36
 
36
 
37
 test_script:
37
 test_script:
38
   - cargo test --verbose
38
   - cargo test --verbose
39
-  - cargo test --verbose --no-default-features
39
+  - ps: >-
40
+        If ($Env:CHANNEL -nq '1.23.0') {
41
+          cargo test --verbose --no-default-features;
42
+        }

+ 1
- 1
.travis.yml 查看文件

9
   - 1.23.0
9
   - 1.23.0
10
 script:
10
 script:
11
   - cargo test --verbose
11
   - cargo test --verbose
12
-  - cargo test --verbose --no-default-features
12
+  - if [ "$TRAVIS_RUST_VERSION" != "1.23.0" ]; then cargo test --verbose --no-default-features; fi
13
   - cargo doc --verbose
13
   - cargo doc --verbose