Skip to content

Commit 8da16c8

Browse files
committed
misc: fix node version in Travis CI config, update npm scripts
1 parent ae8eb0e commit 8da16c8

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ npm-debug.log
55

66
.nyc_output
77
coverage
8+
*.lcov
89

910
example/build
1011
dist

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
language: node_js
22
node_js:
3-
- "6.2.0"
3+
- "6.1.x"
44
script: npm run test:production
5+
6+
# Repository token must be provided in "coverage:production" npm command:
7+
# "-t :repository-token"
58
after_success: npm run coverage:production

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"spec:watch": "NODE_ENV=development npm run spec -- --watch",
1212
"coverage": "nyc report",
1313
"coverage:html": "nyc report --reporter=html && (http-server -p 8077 ./coverage & open-url http://localhost:8077/)",
14-
"coverage:production": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
14+
"coverage:production": "nyc report --reporter=text-lcov > coverage.lcov && codecov -t :REPOSITORY_TOKEN",
1515
"clean": "$(npm bin)/rimraf dist lib",
1616
"build:lib": "$(npm bin)/babel src --out-dir lib",
1717
"build:umd": "LIBRARY_NAME=reduxLogger NODE_ENV=development $(npm bin)/webpack src/index.js dist/index.js --config webpack.build.js",

0 commit comments

Comments
 (0)