Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
a71f1a1f
Commit
a71f1a1f
authored
9 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
Preparing precompiled builds
parent
9eabac8f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+22
-2
22 additions, 2 deletions
.travis.yml
ucoin
+16
-0
16 additions, 0 deletions
ucoin
with
38 additions
and
2 deletions
.travis.yml
+
22
−
2
View file @
a71f1a1f
# Nodejs software
language
:
node_js
language
:
node_js
node_js
:
node_js
:
-
0.12
-
0.12
sudo
:
false
sudo
:
false
script
:
"
npm
run-script
test-travis"
# Unit Tests (+code coverage)
script
:
npm run-script test-travis
# Send coverage data to Coveralls
after_script
:
after_script
:
# Send coverage data to Coveralls
-
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
-
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
-
rm -Rf ./coverage
-
rm -Rf ./coverage
# Download & embed Nodejs binary
-
NVER=`node -v`
-
wget http://nodejs.org/dist/${NVER}/node-${NVER}-linux-x64.tar.gz
-
tar czf node-${NVER}-linux-x64.tar.gz
-
mv node-${NVER}-linux-x64 node
# Clean testing packages
-
npm prune --production
-
tar czf ucoin.tar.gz ./ --exclude ".git" --exclude "coverage" --exclude "test" --exclude "share"
# Releases deployed on GitHub
deploy
:
provider
:
releases
api_key
:
secure
:
feyz5YmzYj6g6ZJKAv7u3pp9j9OY6oL4Pcx8mkha25BT1kEIu7lzvkZu4mJAIDjCxJjEkce3fNGXhRICqoMhRy/FK5dUUTpmP3KoMLNNJboO+MhDqjPEb6OYyafikSWnm0BszPL38FzSYMdmvNZ6WirOyVfrdzVPgU6MG0D99w8=
file
:
ucoin.tar.gz
on
:
repo
:
ucoin-io/ucoin
This diff is collapsed.
Click to expand it.
ucoin
0 → 100755
+
16
−
0
View file @
a71f1a1f
#!/bin/bash
NODE
=
node
if
[[
-d
./node
]]
;
then
NODE
=
./node/bin/node
fi
;
VERSION
=
`
node
-v
`
if
[[
$VERSION
!=
v0.12
*
]]
;
then
echo
"Node.js v0.12 is not available"
;
else
$NODE
--harmony
./bin/ucoind
$*
fi
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment