瀏覽代碼

Don't explicitly set cache name, it's automatically inferred

timvisee 7 年之前
父節點
當前提交
ccf76d867f
共有 1 個文件被更改,包括 12 次插入12 次删除
  1. 12 12
      .travis.yml

+ 12 - 12
.travis.yml

@@ -23,7 +23,7 @@ jobs:
     # Linux with Rust stable/beta/nightly
     - stage: build
       rust: stable
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script: &build-script
         - cargo build --verbose --all
@@ -31,12 +31,12 @@ jobs:
         - cargo build --features no-color --verbose --all
     - stage: build
       rust: beta
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-beta
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script: *build-script
     - stage: build
       rust: nightly
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-nightly
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script: *build-script
 
@@ -44,7 +44,7 @@ jobs:
     - stage: build
       rust: stable
       os: osx
-      env: TARGET=x86_64-apple-darwin CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-apple-darwin
       cache: cargo
       script: *build-script
 
@@ -53,7 +53,7 @@ jobs:
     ################################
 
     - stage: test
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script: cargo test --verbose --all
 
@@ -63,7 +63,7 @@ jobs:
 
     # Cargo crate release
     - stage: release
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script:
         - echo $CARGO_TOKEN | cargo login
@@ -72,7 +72,7 @@ jobs:
     # GitHub binary release for Linux on x86/x86_64
     - stage: release
       rust: stable
-      env: TARGET=x86_64-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-unknown-linux-gnu
       cache: cargo
       script: &script-github-release
         - |
@@ -96,7 +96,7 @@ jobs:
           branch: master
     - stage: release
       rust: stable
-      env: TARGET=i686-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=i686-unknown-linux-gnu
       cache: cargo
       install: &install-github-release-cross
         - cargo install cross
@@ -106,21 +106,21 @@ jobs:
     # GitHub binary release for Linux on arch
     - stage: release
       rust: stable
-      env: TARGET=aarch64-unknown-linux-gnu CACHE_NAME=$TARGET-stable
+      env: TARGET=aarch64-unknown-linux-gnu
       cache: cargo
       install: *install-github-release-cross
       script: *script-github-release
       deploy: *deploy-github-release
     - stage: release
       rust: stable
-      env: TARGET=arm-unknown-linux-gnueabi CACHE_NAME=$TARGET-stable
+      env: TARGET=arm-unknown-linux-gnueabi
       cache: cargo
       install: *install-github-release-cross
       script: *script-github-release
       deploy: *deploy-github-release
     - stage: release
       rust: stable
-      env: TARGET=armv7-unknown-linux-gnueabihf CACHE_NAME=$TARGET-stable
+      env: TARGET=armv7-unknown-linux-gnueabihf
       cache: cargo
       install: *install-github-release-cross
       script: *script-github-release
@@ -130,7 +130,7 @@ jobs:
     - stage: release
       rust: stable
       os: osx
-      env: TARGET=x86_64-apple-darwin CACHE_NAME=$TARGET-stable
+      env: TARGET=x86_64-apple-darwin
       cache: cargo
       script: *script-github-release
       deploy: *deploy-github-release