diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..07786d7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +sudo: required +dist: trusty +language: node_js +node_js: + - "10" +install: + - npm install +script: + - npm run validate diff --git a/package.json b/package.json index 27111ee..c4c3e3c 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "fix": "vue-cli-service lint --fix", "test": "npm run test:unit", "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": { "express": "^4.17.1"