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 d9c68af

Browse files
Update build to only run tests once
1 parent 1faa02f commit d9c68af

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎.travis.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
22
node_js:
33
- node
4-
after_success: 'yarn test:coveralls'
4+
script: 'yarn test:coverage'
5+
after_success: 'yarn test:report'

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"README.md"
99
],
1010
"scripts": {
11-
"build": "babel src -d dist --ignore *.spec.js",
11+
"build": "babel src -d dist --ignore *.test.js",
1212
"prepublish": "yarn build",
1313
"test": "jest src/**/*.test.js",
14-
"test:coverage": "jest src/**/*.test.js --coverage",
15-
"test:coveralls": "yarn test:coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
14+
"test:coverage": "yarn test -- --coverage",
15+
"test:report": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
1616
"test:watch": "yarn test -- --watch"
1717
},
1818
"author": "Matt Phillips",

0 commit comments

Comments
(0)

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