Skip to content
Snippets Groups Projects
Commit 689e7ce1 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Fix: remove x86 binary packaging (not handled by Travis)

parent a811c8a6
No related branches found
No related tags found
No related merge requests found
......@@ -17,19 +17,13 @@ after_success:
before_deploy:
# Download & embed Nodejs binary
- NVER=`node -v`
- wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x86.tar.gz
- wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x64.tar.gz
- tar xzf node-${NVER}-linux-x86.tar.gz
- tar xzf node-${NVER}-linux-x64.tar.gz
- mv node-${NVER}-linux-x64 node
- rm node-${NVER}-linux-x64.tar.gz
# Clean testing packages
- npm prune --production
- tar czf ../ucoin.64bits.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" --exclude "share" --exclude "node-${NVER}-linux-x86.tar.gz" --exclude "node-${NVER}-linux-x86"
- rm -Rf node
- mv node-${NVER}-linux-x86 node
- rm node-${NVER}-linux-x86.tar.gz
- tar czf ../ucoin.32bits.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" --exclude "share"
- tar czf ../ucoin-x64.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" --exclude "share"
# Releases deployed on GitHub
deploy:
......@@ -38,8 +32,7 @@ deploy:
api_key:
secure: feyz5YmzYj6g6ZJKAv7u3pp9j9OY6oL4Pcx8mkha25BT1kEIu7lzvkZu4mJAIDjCxJjEkce3fNGXhRICqoMhRy/FK5dUUTpmP3KoMLNNJboO+MhDqjPEb6OYyafikSWnm0BszPL38FzSYMdmvNZ6WirOyVfrdzVPgU6MG0D99w8=
file:
- ../ucoin.32bits.tar.gz
- ../ucoin.64bits.tar.gz
- ../ucoin-x64.tar.gz
on:
repo: ucoin-io/ucoin
tags: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment