1
forked from sheetjs/sheetjs

reduced build output on travis

This commit is contained in:
SheetJS 2017-03-14 13:24:40 -04:00
parent 7cb978b846
commit 88eb98587c
4 changed files with 7 additions and 3 deletions

@ -18,4 +18,4 @@ before_script:
- "make init" - "make init"
- "cd test_files; make all; cd -" - "cd test_files; make all; cd -"
after_success: after_success:
- "make coveralls-spin" # - "make coveralls-spin"

@ -92,6 +92,10 @@ TESTFMT=$(patsubst %,test_%,$(FMT))
$(TESTFMT): test_%: $(TESTFMT): test_%:
FMTS=$* make test FMTS=$* make test
.PHONY: travis
travis: ## Run test suite with minimal output
mocha -R dot -t 30000
.PHONY: demos .PHONY: demos
demos: demo-browserify demo-webpack demo-requirejs demos: demo-browserify demo-webpack demo-requirejs

@ -30,7 +30,7 @@
"repository": { "type":"git", "url":"git://github.com/SheetJS/js-xlsx.git" }, "repository": { "type":"git", "url":"git://github.com/SheetJS/js-xlsx.git" },
"scripts": { "scripts": {
"pretest": "git submodule init && git submodule update", "pretest": "git submodule init && git submodule update",
"test": "make test" "test": "make travis"
}, },
"config": { "config": {
"blanket": { "blanket": {

@ -11,7 +11,7 @@ if(process.env.WTF) {
opts.WTF = true; opts.WTF = true;
opts.cellStyles = 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 ofmt = ["xlsb", "xlsm", "xlsx", "ods", "biff2", "xlml"];
var ex = fullex.slice(); ex = ex.concat([".ods", ".xls", ".xml", ".fods"]); var ex = fullex.slice(); ex = ex.concat([".ods", ".xls", ".xml", ".fods"]);
if(process.env.FMTS === "full") process.env.FMTS = ex.join(":"); if(process.env.FMTS === "full") process.env.FMTS = ex.join(":");