瀏覽代碼

Fix syntax strangeness in .travis.yml

Johannes Hofmann 8 年之前
父節點
當前提交
297c8216e2
共有 1 個文件被更改,包括 2 次插入 和 2 次删除
  1. 2
    2
      .travis.yml

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

9
   - 1.23.0
9
   - 1.23.0
10
 script:
10
 script:
11
   - |
11
   - |
12
-      if [ "$TRAVIS_RUST_VERSION" == "1.23.0" ];
12
+      if [ "$TRAVIS_RUST_VERSION" == "1.23.0" ]; then
13
         cargo test --verbose;
13
         cargo test --verbose;
14
         cargo doc --verbose --no-deps;
14
         cargo doc --verbose --no-deps;
15
-      then
15
+      else
16
         cargo test --verbose;
16
         cargo test --verbose;
17
         cargo test --verbose --no-default-features;
17
         cargo test --verbose --no-default-features;
18
         cargo doc --verbose;
18
         cargo doc --verbose;