Add potential fix for travis.

This commit is contained in:
ClementTsang 2019-10-10 16:54:33 -04:00
parent f2813139b1
commit 5512107d89

View File

@ -2,7 +2,6 @@ language: rust
rust:
- nightly
os:
- windows
- linux
GH_TOKEN: &GH_TOKEN
@ -21,6 +20,7 @@ DEPLOY_TO_GITHUB: &DEPLOY_TO_GITHUB
provider: releases
api_key: *GH_TOKEN
file: bottom-$TRAVIS_TAG-$TARGET.tar.gz
file_glob: true
skip_cleanup: true
on:
branch: master
@ -31,6 +31,7 @@ matrix:
include:
- name: Linux Binary
env: TARGET=x86_64-unknown-linux-musl
os: linux
rust: nightly
before_script: rustup target add $TARGET
script: cargo build --release --target $TARGET --locked
@ -40,6 +41,14 @@ matrix:
- musl-tools
<<: *DEPLOY_TO_GITHUB
- name: Windows Binary
env: TARGET=stable-x86_64-pc-windows-msvc
os: windows
rust: nightly
before_script: rustup target add $TARGET
script: cargo build --release --target $TARGET --locked
<<: *DEPLOY_TO_GITHUB
notifications:
email:
on_success: never