From 6927488edcb023542f6859f7c6a6962bd798d72e Mon Sep 17 00:00:00 2001 From: SheetJS Date: Wed, 29 Mar 2017 02:52:49 -0400 Subject: [PATCH] test node 7 in travis --- .travis.yml | 2 +- ctest/mocha.css | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 302884c..ecbe283 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/ctest/mocha.css b/ctest/mocha.css index 42b9798..3b82ae9 100644 --- a/ctest/mocha.css +++ b/ctest/mocha.css @@ -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)