Set up travis
This commit is contained in:
parent
c6dc4dbdc7
commit
410f795a0d
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "10"
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
script:
|
||||||
|
- npm run validate
|
@ -30,7 +30,8 @@
|
|||||||
"fix": "vue-cli-service lint --fix",
|
"fix": "vue-cli-service lint --fix",
|
||||||
"test": "npm run test:unit",
|
"test": "npm run test:unit",
|
||||||
"test:e2e": "vue-cli-service test:e2e",
|
"test:e2e": "vue-cli-service test:e2e",
|
||||||
"test:unit": "jest --config jest.config.js --coverage --runInBand"
|
"test:unit": "jest --config jest.config.js --coverage --runInBand",
|
||||||
|
"validate": "npm run lint && npm run test:unit && npm run build:vue"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"express": "^4.17.1"
|
"express": "^4.17.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user