Skip to content

Commit 4bb4a25

Browse files
committed
Added travis
1 parent 7ea76ca commit 4bb4a25

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
notifications:
2+
email: false
3+
language: node_js
4+
sudo: false
5+
node_js:
6+
- "node"
7+
install:
8+
- npm install
9+
script:
10+
- npm run lint:ci
11+
- npm run build
12+
- npm run test
13+
- npm run md:build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"serve": "serve dist -p 8080",
1212
"test": "mocha",
1313
"lint": "prettier --write **/*.js **/*.ts **/*.json !build/**/* !dist/**/*",
14+
"lint:ci": "prettier --check **/*.js **/*.ts **/*.json !build/**/* !dist/**/*",
1415
"lib:watch": "chokidar --initial \"lib/**/*\" -c \"run-s lib:wasm:build lib:js:build:dev test\"",
1516
"lib:test:watch": "chokidar \"test/**/*.js\" \"test/**/*.ts\" -c \"run-s lib:test:build test\"",
1617
"lib:wasm:build": "run-s lib:wasm:build:debug lib:wasm:build:optimized lib:wasm:build:cp",

0 commit comments

Comments
 (0)