Skip to content

Commit 43daff9

Browse files
author
John Persson
committed
ci(travis): Run tests in CI
1 parent c0546d4 commit 43daff9

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ before_script:
1313
- npm prune
1414
- npm install
1515
script:
16+
- npm run test
17+
- npm run test:coverage
1618
- npm run build
1719
after_success:
1820
- npm run report-coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"setup:semantic-release": "semantic-release-cli setup",
1616
"setup:commitizen": "commitizen init cz-conventional-changelog --save-dev --save-exact",
1717
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
18+
"test": "jest",
1819
"test:coverage": "jest --coverage",
1920
"test:watch": "jest --watch"
2021
},

0 commit comments

Comments
 (0)