From 410f795a0d71e0c3c92aa8d3514b64313b8712bf Mon Sep 17 00:00:00 2001 From: The Jared Wilcurt Date: Tue, 29 Oct 2019 12:53:13 -0400 Subject: [PATCH] Set up travis --- .travis.yml | 9 +++++++++ package.json | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .travis.yml 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"