Prepare Travis CI configuration for release [ci skip]
This commit is contained in:
parent
9ba8c90816
commit
b3ffbc3b35
1 changed files with 2 additions and 11 deletions
13
.travis.yml
13
.travis.yml
|
@ -6,14 +6,8 @@
|
|||
language: rust
|
||||
|
||||
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:
|
||||
include:
|
||||
|
@ -23,9 +17,6 @@ jobs:
|
|||
env: RUST_TARGET=x86_64-apple-darwin
|
||||
cache: cargo
|
||||
script:
|
||||
# TODO: remove after debugging
|
||||
- export TRAVIS_TAG=v0.2.18
|
||||
|
||||
# Create release binary for macOS
|
||||
- echo "Creating release binary for $RUST_TARGET..."
|
||||
- cargo build --target=$RUST_TARGET --release --verbose --all
|
||||
|
|
Loading…
Add table
Reference in a new issue