ci: add travis config
This commit is contained in:
parent
dc25392d64
commit
3209d36ee1
2 changed files with 16 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -90,6 +90,3 @@ tags
|
||||||
# build artifacts
|
# build artifacts
|
||||||
src/**/*.js
|
src/**/*.js
|
||||||
src/**/*.d.ts
|
src/**/*.d.ts
|
||||||
|
|
||||||
# in development
|
|
||||||
.travis*
|
|
||||||
|
|
16
.travis.yml
Normal file
16
.travis.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
sudo: false
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
# LTS
|
||||||
|
- "8"
|
||||||
|
- "10"
|
||||||
|
- "node"
|
||||||
|
before_install:
|
||||||
|
- npm install -g npm
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
script:
|
||||||
|
- npm test
|
||||||
|
after_success:
|
||||||
|
- npm run report-coverage
|
||||||
|
|
Loading…
Reference in a new issue