Set up travis

This commit is contained in:
The Jared Wilcurt 2019-10-29 12:53:13 -04:00
parent c6dc4dbdc7
commit 410f795a0d
2 changed files with 11 additions and 1 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
sudo: required
dist: trusty
language: node_js
node_js:
- "10"
install:
- npm install
script:
- npm run validate

View File

@ -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"