mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 22:20:18 +00:00
Simplified and fixed travis.
This commit is contained in:
parent
c4474c0eb1
commit
3ee4314bea
1 changed files with 3 additions and 9 deletions
12
.travis.yml
12
.travis.yml
|
@ -46,20 +46,14 @@ notifications:
|
|||
|
||||
before_deploy:
|
||||
- |
|
||||
cp ./target/release/btm btm;
|
||||
strip btm;
|
||||
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;
|
||||
mkdir source_code;
|
||||
cp -r ./src ./Cargo.toml LICENSE tests sample_config.toml source_code;
|
||||
tar -czvf bottom_source_code.tar.gz source_code;
|
||||
tar -czvf bottom_source_code.tar.gz ./src ./Cargo.toml LICENSE tests sample_config.toml;
|
||||
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;
|
||||
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;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue