test node 7 in travis

This commit is contained in:
SheetJS 2017-03-29 02:52:49 -04:00
parent 5a7e4db973
commit 6927488edc
2 changed files with 36 additions and 1 deletions

@ -1,5 +1,6 @@
language: node_js
node_js:
- "7"
- "6"
- "5"
- "4"
@ -14,4 +15,3 @@ before_install:
- "npm install coveralls mocha-lcov-reporter"
after_success:
- "make coveralls-spin"
# - "make perf-all"

@ -136,6 +136,41 @@ body {
overflow: auto;
}
#mocha .test .html-error {
overflow: auto;
color: black;
line-height: 1.5;
display: block;
float: left;
clear: left;
font: 12px/1.5 monaco, monospace;
margin: 5px;
padding: 15px;
border: 1px solid #eee;
max-width: 85%; /*(1)*/
max-width: calc(100% - 42px); /*(2)*/
max-height: 300px;
word-wrap: break-word;
border-bottom-color: #ddd;
-webkit-border-radius: 3px;
-webkit-box-shadow: 0 1px 3px #eee;
-moz-border-radius: 3px;
-moz-box-shadow: 0 1px 3px #eee;
border-radius: 3px;
}
#mocha .test .html-error pre.error {
border: none;
-webkit-border-radius: none;
-webkit-box-shadow: none;
-moz-border-radius: none;
-moz-box-shadow: none;
padding: 0;
margin: 0;
margin-top: 18px;
max-height: none;
}
/**
* (1): approximate for browsers not supporting calc
* (2): 42 = 2*15 + 2*10 + 2*1 (padding + margin + border)