From 7d904ec6643a38c71c8cb40fbe14e1524b7faa3d Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 17 Mar 2017 15:58:53 -0400 Subject: [PATCH] Add Travis CI configuration --- .editorconfig | 2 +- .travis.yml | 3 +++ package.json | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig index 667a507d56e97..17c30a62d6a66 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,7 +8,7 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -[package.json] +[{package.json,.travis.yml}] indent_style = space indent_size = 2 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000..2197832ecf97c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - "node" diff --git a/package.json b/package.json index 50099be75d9dd..1a2ef86b22e46 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ ], "scripts": { "build": "cross-env NODE_ENV=production webpack", - "clean": "rimraf build" + "clean": "rimraf build", + "lint": "eslint editor", + "test": "npm run lint" }, "devDependencies": { "autoprefixer": "^6.7.7",