diff options
author | ClementTsang <clementjhtsang@gmail.com> | 2019-10-10 16:54:33 -0400 |
---|---|---|
committer | ClementTsang <clementjhtsang@gmail.com> | 2019-10-10 16:54:33 -0400 |
commit | 5512107d894ad5eb9c4d82278860cc5186604570 (patch) | |
tree | e5429fdc1b9d50824eb741e660c3c2651585a0c6 /.travis.yml | |
parent | f2813139b19bd2e00d19fbb95d373deead25bda0 (diff) |
Add potential fix for travis.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 872d03f3..befb0864 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |