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

pull/351/head^2
Estevão Soares dos Santos 2017-03-05 02:49:13 +00:00 committed by GitHub
parent 37df574b7a
commit 93fecc8650
6 changed files with 7 additions and 15 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

2
dist/showdown.js vendored
View File

@ -1,4 +1,4 @@
;/*! showdown 26-02-2017 */
;/*! showdown 05-03-2017 */
(function(){
/**
* Created by Tivie on 13-07-2015.

File diff suppressed because one or more lines are too long

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",

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)