浏览代码

CI: Bump minimum supported Rust version to 1.34.2

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

+ 2
- 7
.appveyor.yml 查看文件

8
   matrix:
8
   matrix:
9
     - channel: nightly
9
     - channel: nightly
10
       target: x86_64-pc-windows-msvc
10
       target: x86_64-pc-windows-msvc
11
-      cargoflags: --no-default-features
12
     - channel: nightly
11
     - channel: nightly
13
       target: x86_64-pc-windows-gnu
12
       target: x86_64-pc-windows-gnu
14
-      cargoflags: --no-default-features
15
     - channel: nightly
13
     - channel: nightly
16
       target: i686-pc-windows-gnu
14
       target: i686-pc-windows-gnu
17
-      cargoflags: --no-default-features
18
     - channel: stable
15
     - channel: stable
19
       target: x86_64-pc-windows-msvc
16
       target: x86_64-pc-windows-msvc
20
-      cargoflags: --no-default-features
21
     - channel: stable
17
     - channel: stable
22
       target: i686-pc-windows-msvc
18
       target: i686-pc-windows-msvc
23
-      cargoflags: --no-default-features
24
-    - channel: 1.27.2
19
+    - channel: 1.34.2
25
       target: x86_64-pc-windows-msvc
20
       target: x86_64-pc-windows-msvc
26
 
21
 
27
 install:
22
 install:
41
 
36
 
42
 test_script:
37
 test_script:
43
   - cargo test --verbose
38
   - cargo test --verbose
44
-  - cargo test --verbose %cargoflags%
39
+  - cargo test --verbose --no-default-features

+ 4
- 9
.travis.yml 查看文件

6
   - stable
6
   - stable
7
   - beta
7
   - beta
8
   - nightly
8
   - nightly
9
-  - 1.27.2
9
+  - 1.34.2
10
 script:
10
 script:
11
   - |
11
   - |
12
-      if [ "$TRAVIS_RUST_VERSION" == "1.27.2" ]; then
13
-        cargo test --verbose;
14
-        cargo doc --verbose --no-deps;
15
-      else
16
-        cargo test --verbose;
17
-        cargo test --verbose --no-default-features;
18
-        cargo doc --verbose;
19
-      fi
12
+      cargo test --verbose;
13
+      cargo test --verbose --no-default-features;
14
+      cargo doc --verbose;