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 language: rust
stages: stages:
- release - name: release
# TODO: use this configuration instead to only build version tags if: tag =~ ^v(\d+\.)*\d+$
# - name: release
# if: tag =~ ^v(\d+\.)*\d+$
addons:
homebrew:
packages:
- curl
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