We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af333f6 commit e0d8689Copy full SHA for e0d8689
.travis.yml
@@ -0,0 +1,19 @@
1
+language: node_js
2
+node_js:
3
+ - "10.16.0"
4
+before_install:
5
+ # install yarn
6
+ - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3
7
+ - export PATH="$HOME/.yarn/bin:$PATH"
8
+install:
9
+ - yarn install
10
+jobs:
11
+ include:
12
+ - stage: "Tests"
13
+ name: "Unit Tests with coverage"
14
+ script: yarn coverage
15
+ - stage: "Compile"
16
+ script: yarn build
17
+stages:
18
+ - compile
19
+ - test
package.json
@@ -5,6 +5,7 @@
"main": "./dist/index.js",
"scripts": {
"test": "jest --detectOpenHandles --verbose",
+ "coverage": "npm test -- --coverage",
"clean": "rm -rf ./dist",
"prebuild": "npm run clean",
"build": "tsc",
0 commit comments