Skip to content

Commit

Permalink
Fix CI deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
iovxw committed Sep 5, 2017
1 parent bf459ba commit e88004f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ before_deploy: |-
then
sudo apt-get update && \
sudo apt-get install -y \
build-essential cmake curl file git musl-tools sudo xutils-dev && \
build-essential cmake curl musl-tools && \
rustup target add x86_64-unknown-linux-musl && \
env VERS=1.0.2l && \
export VERS=1.0.2l && \
curl -O https://www.openssl.org/source/openssl-$VERS.tar.gz && \
tar xvzf openssl-$VERS.tar.gz && cd openssl-$VERS && \
env CC=musl-gcc ./config --prefix=./openssl && \
make && sudo make install && \
env CC=musl-gcc ./config --prefix=$TRAVIS_BUILD_DIR/openssl && \
make && make install && \
cd .. && rm -rf openssl-$VERS.tar.gz openssl-$VERS && \
env OPENSSL_DIR=./openssl/ \
env OPENSSL_DIR=$TRAVIS_BUILD_DIR/openssl \
OPENSSL_STATIC=1 \
cargo build --release --target x86_64-unknown-linux-musl && \
zip -j "rssbot-${TRAVIS_TAG}-${TRAVIS_OS_NAME}".zip target/x86_64-unknown-linux-musl/release/rssbot
Expand Down

0 comments on commit e88004f

Please sign in to comment.