瀏覽代碼

Prepare Travis CI configuration for release [ci skip]

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

+ 2 - 11
.travis.yml

@@ -6,14 +6,8 @@
 language: rust
 language: rust
 
 
 stages:
 stages:
-  - release
-  # TODO: use this configuration instead to only build version tags
-  # - name: release
-  #   if: tag =~ ^v(\d+\.)*\d+$
-addons:
-  homebrew:
-    packages:
-    - curl
+  - name: release
+    if: tag =~ ^v(\d+\.)*\d+$
 
 
 jobs:
 jobs:
   include:
   include:
@@ -23,9 +17,6 @@ jobs:
       env: RUST_TARGET=x86_64-apple-darwin
       env: RUST_TARGET=x86_64-apple-darwin
       cache: cargo
       cache: cargo
       script:
       script:
-        # TODO: remove after debugging
-        - export TRAVIS_TAG=v0.2.18
-
         # Create release binary for macOS
         # Create release binary for macOS
         - echo "Creating release binary for $RUST_TARGET..."
         - echo "Creating release binary for $RUST_TARGET..."
         - cargo build --target=$RUST_TARGET --release --verbose --all
         - cargo build --target=$RUST_TARGET --release --verbose --all