mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-26 23:24:20 +02:00
Simplified and fixed travis.
This commit is contained in:
parent
c4474c0eb1
commit
3ee4314bea
12
.travis.yml
12
.travis.yml
@ -46,20 +46,14 @@ notifications:
|
|||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- |
|
- |
|
||||||
|
cp ./target/release/btm btm;
|
||||||
|
strip btm;
|
||||||
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
|
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
|
||||||
cp ./target/x86_64-unknown-linux-gnu/release/btm btm;
|
|
||||||
strip btm;
|
|
||||||
tar -czvf bottom_x86_64-unknown-linux-gnu.tar.gz btm;
|
tar -czvf bottom_x86_64-unknown-linux-gnu.tar.gz btm;
|
||||||
mkdir source_code;
|
tar -czvf bottom_source_code.tar.gz ./src ./Cargo.toml LICENSE tests sample_config.toml;
|
||||||
cp -r ./src ./Cargo.toml LICENSE tests sample_config.toml source_code;
|
|
||||||
tar -czvf bottom_source_code.tar.gz source_code;
|
|
||||||
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "windows" ]]; then
|
||||||
cp ./target/x86_64-pc-windows-msvc/release/btm btm;
|
|
||||||
strip btm;
|
|
||||||
tar -czvf bottom_x86_64-pc-windows-msvc.tar.gz btm;
|
tar -czvf bottom_x86_64-pc-windows-msvc.tar.gz btm;
|
||||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
cp ./target/x86_64-apple-darwin/release/btm btm;
|
|
||||||
strip btm;
|
|
||||||
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user