mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-23 13:45:12 +02:00
Fix broken windows build, disable beta for now.
This commit is contained in:
parent
f4b7df139a
commit
7f0a05a8f9
12
.travis.yml
12
.travis.yml
@ -1,7 +1,7 @@
|
|||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
#- beta // TODO: [TRAVIS] Skip this on deploy
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
@ -46,17 +46,23 @@ notifications:
|
|||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- |
|
- |
|
||||||
|
if [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
||||||
|
export TARGET=x86_64-pc-windows-msvc;
|
||||||
|
cargo build --release --target $TARGET;
|
||||||
|
cp ./target/x86_64-pc-windows-msvc/release/btm btm;
|
||||||
|
strip btm;
|
||||||
|
tar -czvf bottom_x86_64-pc-windows-msvc.tar.gz btm;
|
||||||
|
else
|
||||||
cargo build --release;
|
cargo build --release;
|
||||||
cp ./target/release/btm btm;
|
cp ./target/release/btm btm;
|
||||||
strip btm;
|
strip btm;
|
||||||
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
|
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
|
||||||
tar -czvf bottom_x86_64-unknown-linux-gnu.tar.gz btm;
|
tar -czvf bottom_x86_64-unknown-linux-gnu.tar.gz btm;
|
||||||
tar -czvf bottom_source_code.tar.gz ./src ./Cargo.toml LICENSE tests sample_config.toml;
|
tar -czvf bottom_source_code.tar.gz ./src ./Cargo.toml LICENSE tests sample_config.toml;
|
||||||
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
|
||||||
tar -czvf bottom_x86_64-pc-windows-msvc.tar.gz btm;
|
|
||||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
Loading…
x
Reference in New Issue
Block a user