From 593cf3abfa5ccc14fc30fc1826c53eb8e957c82d Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Sun, 15 Oct 2017 20:35:58 -0700 Subject: [PATCH] add travis ci integration --- .travis.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..4c1245b7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "node" \ No newline at end of file diff --git a/package.json b/package.json index bb328c95..d924efce 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "lint": "eslint client server --ext .jsx --ext .js", "lint-fix": "eslint client server --ext .jsx --ext .js --fix", "build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress", - "test": "echo \"Error: no test specified\" && exit 1", + "test": "npm run lint", "fetch-examples": "node fetch-examples.js", "postinstall": "git submodule update --remote --recursive" },