From 00924eabb46f57795790b92968abb568f19aad8d Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Thu, 10 Mar 2016 19:01:11 +0100 Subject: [PATCH] Travis: added Duniter packaging --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a6ec797a8..a34cf927b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,18 @@ before_deploy: - rm node-${NVER}-linux-x64.tar.gz # Clean testing packages - npm prune --production - - tar czf ../ucoin-x64.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" --exclude "share" + - tar czf ../ucoin-x64.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" + # GUI Version + - NW="nwjs-v0.13.0-rc2-linux-x64" + - NW_GZ="${NW}.tar.gz" + - wget http://dl.nwjs.io/live-build/03-10-2016/d0b5cf2-ea112a8-3d99a78-678d67e/v0.13.0-rc2/${NW_GZ} + - tar xvzf ${NW_GZ} + - mv ${NW}/* ./ + - mv gui/* ./ + - rm -Rf ${NW} + - rm -Rf ./ui/package/node_modules + - rm -Rf ./ui/package/bower_components + - tar czf ../duniter-x64.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" # Releases deployed on GitHub deploy: @@ -44,6 +55,7 @@ deploy: secure: feyz5YmzYj6g6ZJKAv7u3pp9j9OY6oL4Pcx8mkha25BT1kEIu7lzvkZu4mJAIDjCxJjEkce3fNGXhRICqoMhRy/FK5dUUTpmP3KoMLNNJboO+MhDqjPEb6OYyafikSWnm0BszPL38FzSYMdmvNZ6WirOyVfrdzVPgU6MG0D99w8= file: - ../ucoin-x64.tar.gz + - ../duniter-x64.tar.gz on: repo: ucoin-io/ucoin tags: true -- GitLab