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