Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 70179c8

Browse files
[pkg] build from travis
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 7704e11 commit 70179c8

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

‎.travis.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
language: node_js
22
node_js:
3-
- "node"
3+
- 10
4+
45
os:
56
- linux
67
- osx
78
- windows
9+
810
install:
911
- npm install
12+
1013
script:
1114
- npm test
15+
- if [ -n "$TRAVIS_TAG" ]; then npm run travis; fi
16+
17+
deploy:
18+
provider: releases
19+
api_key:
20+
secure: "ayYe6HlYFrFposeIh2xX1DbdF3CRFnAHM5VvdtfVh/TtpcEvg4GRCanvzaSvsVajLjFZOZhGVgm+uZ1H6ba6jQuoOUvFJ667EVwQk7c8KDJrvZIMvzMxCgvSHb6N8VBh/5svWYa+7Kbd++3WP7XmkLpWli/DXvOSu6I6M7w+m/OI157mWPp0a7iy+Q+o1vSl/3INNIrd/vMT5F+ae1iBLFn3aHndtezhdQr+HrQCHaVP8OiK96rtjzaiRp+dyoMf4U71LoJGRpGZURv9imyXholoQutlT+bhRaumPqrqiwFRGMaL+xhfBZMySMND8wcO9rQnabiQf5Wo9J5aJMnixWjEIg9gGhJ8E96j9VwdUBA7yfHAbVhLrQ0h2TkZuUdqU1EnOWIbnPtjC9exv8R5X2WRs1fMz9j+XpNYclB4YdLclQ662nfsquccqfksDG1rS249WkSl1RIxr9fcD+60xYXgkG78wrTN8cr9NMGk5/AyMyHcvYjA+rGg1V8DZhzC3WZn9Q0NRJoc3b+xx9pxkaO7epBck5sAsNPO8b/bMGGKmgmR5tKSZUN+lTUKLI2znJcUC1dMKKpRCqr1To94ZYVe0G7SFbe+MH4guQXkd7sB6GnsR8/7g8OsVcAtV4DoEWfHwJQIE0bg/UzqubyBPSGPs1JBZm8nks/zTpOJ65o="
21+
file: leetcode-cli.*
22+
file_glob: true
23+
skip_cleanup: true
24+
overwrite: true
25+
on:
26+
tags: true

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"lint": "eslint lib/ test/",
1414
"test": "npm run lint && nyc mocha test test/plugins && nyc report --reporter=lcov",
15+
"travis": "node bin/pkg",
1516
"pkg": "pkg . --out-path=dist/ --targets"
1617
},
1718
"pkg": {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /