Prepare Travis CI configuration for release [ci skip]

This commit is contained in:
timvisee 2019-03-06 22:20:23 +01:00
parent 9ba8c90816
commit b3ffbc3b35
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -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