mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-04-08 17:05:59 +02:00
Add potential fix for travis.
This commit is contained in:
parent
f2813139b1
commit
5512107d89
11
.travis.yml
11
.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
|
||||
|
Loading…
x
Reference in New Issue
Block a user