diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-20 00:44:19 -0500 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-02-20 00:44:19 -0500 |
commit | 3ee4314bea633dbf867ad28d0c5a0b72100ab3de (patch) | |
tree | 987c469b5c3cf36549faeb71fe97f5ba502f82c0 | |
parent | c4474c0eb135839fb1b26d7ff95491d07f8873a9 (diff) |
Simplified and fixed travis.
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml index a031c0dc..8d3fc574 100644 --- a/.travis.yml +++ b/.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 |