From 0caafa8680e859635f32d94ec01a3b83fdea6d24 Mon Sep 17 00:00:00 2001 From: khawkins98 <khawkins98@gmail.com> Date: Thu, 20 Apr 2017 10:31:25 +0100 Subject: [PATCH] Add basic travis integaration --- .travis.yml | 10 ++++++++++ package.json | 2 +- 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 00000000..fbc2c5d3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: node_js + +node_js: + - stable + +install: + - npm install + +script: + - npm test diff --git a/package.json b/package.json index c99bda9a..a4d5677c 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "name": "ebi-framework", "version": "1.2.0-alpha.2", "scripts": { - "test": "echo \"To do: no test specified\" && exit 1", + "test": "npm run scss && npm run js", "scss": "node-sass -o css css && csso ./css/ebi-global.css --output ./css/ebi-global.min.css && npm run foundation-scss-full-fat && npm run foundation-scss-lite && npm run foundation-scss-extras", "//@16": [ "Foundation build variants", -- GitLab