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