From 08c299e8b274807c939e7c8d5e1eedc0130f888b Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 8 Jun 2015 20:12:49 +0800 Subject: [PATCH] Add travis --- .travis.yml | 4 ++++ package.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..c41c62d635 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js + +node_js: + - "iojs" diff --git a/package.json b/package.json index 4b89cb0095..3cc5e8f0c1 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "build": "npm run clean && webpack && nico build", "start": "npm run clean && concurrent -r 'webpack -w --watch-aggregate-timeout 0' 'nico server --watch'", "clean": "rm -rf _site", - "deploy": "npm run build && gh-pages -d _site -b gh-pages" + "deploy": "npm run build && gh-pages -d _site -b gh-pages", + "test": "webpack" } }