From 88eb98587c049b62f507962833bd53905c7a698c Mon Sep 17 00:00:00 2001 From: SheetJS Date: Tue, 14 Mar 2017 13:24:40 -0400 Subject: [PATCH] reduced build output on travis --- .travis.yml | 2 +- Makefile | 4 ++++ package.json | 2 +- test.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bc0f26..d223827 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,4 +18,4 @@ before_script: - "make init" - "cd test_files; make all; cd -" after_success: - - "make coveralls-spin" +# - "make coveralls-spin" diff --git a/Makefile b/Makefile index 5d368b1..db8eeb7 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,10 @@ TESTFMT=$(patsubst %,test_%,$(FMT)) $(TESTFMT): test_%: FMTS=$* make test +.PHONY: travis +travis: ## Run test suite with minimal output + mocha -R dot -t 30000 + .PHONY: demos demos: demo-browserify demo-webpack demo-requirejs diff --git a/package.json b/package.json index f68d774..a36d820 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "repository": { "type":"git", "url":"git://github.com/SheetJS/js-xlsx.git" }, "scripts": { "pretest": "git submodule init && git submodule update", - "test": "make test" + "test": "make travis" }, "config": { "blanket": { diff --git a/test.js b/test.js index 3b22fc9..0f96d77 100644 --- a/test.js +++ b/test.js @@ -11,7 +11,7 @@ if(process.env.WTF) { opts.WTF = true; opts.cellStyles = true; } -var fullex = [".xlsb", ".xlsm", ".xlsx", ".xlml"]; +var fullex = [".xlsb", ".xlsm", ".xlsx"/*, ".xlml"*/]; var ofmt = ["xlsb", "xlsm", "xlsx", "ods", "biff2", "xlml"]; var ex = fullex.slice(); ex = ex.concat([".ods", ".xls", ".xml", ".fods"]); if(process.env.FMTS === "full") process.env.FMTS = ex.join(":");