chore(travis): add support for node 0.12 in travis

This commit is contained in:
Estevão Soares dos Santos 2017-03-05 02:49:13 +00:00 committed by GitHub
parent 37df574b7a
commit 93fecc8650
6 changed files with 5 additions and 13 deletions

5
.gitattributes vendored
View File

@ -5,11 +5,12 @@
.gitignore export-ignore
.eslintrc.json export-ignore
.jshintignore export-ignore
.jshintrc
.jshintrc export-ignore
.travis.yml export-ignore
.appveyor.yml export-ignore
bower.json
Gruntfile.js export-ignore
performance.*
performance.* export-ignore
# Line endings control
CHANGELOG.md text

View File

@ -1,10 +1,11 @@
language: node_js
node_js:
- "0.12"
- "4.0"
- "6.0"
before_install:
- npm update npm -g
- 'if [ "$TRAVIS_NODE_VERSION" !== "0.12" ]; then npm update npm -g; fi'
- npm install -g grunt-cli
#travis build speed up

BIN
dist/showdown.js vendored

Binary file not shown.

BIN
dist/showdown.min.js vendored

Binary file not shown.

View File

@ -50,7 +50,6 @@
"grunt-endline": "^0.6.1",
"grunt-eslint": "^19.0.0",
"grunt-simple-mocha": "^0.4.0",
"js-beautify": "^1.5.6",
"load-grunt-tasks": "^3.2.0",
"performance-now": "^2.0.0",
"quiet-grunt": "^0.2.3",

9
test/bootstrap.js vendored
View File

@ -9,15 +9,6 @@
require('source-map-support').install();
require('chai').should();
var fs = require('fs');
/*
os = require('os'),
beautify = require('js-beautify').html_beautify,
beauOptions = {
eol: os.EOL,
indent_size: 2,
preserve_newlines: false
};
*/
function getTestSuite (dir) {
return fs.readdirSync(dir)