mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
chore(travis): add support for node 0.12 in travis
This commit is contained in:
parent
37df574b7a
commit
93fecc8650
5
.gitattributes
vendored
5
.gitattributes
vendored
|
@ -5,11 +5,12 @@
|
||||||
.gitignore export-ignore
|
.gitignore export-ignore
|
||||||
.eslintrc.json export-ignore
|
.eslintrc.json export-ignore
|
||||||
.jshintignore export-ignore
|
.jshintignore export-ignore
|
||||||
.jshintrc
|
.jshintrc export-ignore
|
||||||
.travis.yml export-ignore
|
.travis.yml export-ignore
|
||||||
|
.appveyor.yml export-ignore
|
||||||
bower.json
|
bower.json
|
||||||
Gruntfile.js export-ignore
|
Gruntfile.js export-ignore
|
||||||
performance.*
|
performance.* export-ignore
|
||||||
|
|
||||||
# Line endings control
|
# Line endings control
|
||||||
CHANGELOG.md text
|
CHANGELOG.md text
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
|
- "0.12"
|
||||||
- "4.0"
|
- "4.0"
|
||||||
- "6.0"
|
- "6.0"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- npm update npm -g
|
- 'if [ "$TRAVIS_NODE_VERSION" !== "0.12" ]; then npm update npm -g; fi'
|
||||||
- npm install -g grunt-cli
|
- npm install -g grunt-cli
|
||||||
|
|
||||||
#travis build speed up
|
#travis build speed up
|
||||||
|
|
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
|
@ -50,7 +50,6 @@
|
||||||
"grunt-endline": "^0.6.1",
|
"grunt-endline": "^0.6.1",
|
||||||
"grunt-eslint": "^19.0.0",
|
"grunt-eslint": "^19.0.0",
|
||||||
"grunt-simple-mocha": "^0.4.0",
|
"grunt-simple-mocha": "^0.4.0",
|
||||||
"js-beautify": "^1.5.6",
|
|
||||||
"load-grunt-tasks": "^3.2.0",
|
"load-grunt-tasks": "^3.2.0",
|
||||||
"performance-now": "^2.0.0",
|
"performance-now": "^2.0.0",
|
||||||
"quiet-grunt": "^0.2.3",
|
"quiet-grunt": "^0.2.3",
|
||||||
|
|
9
test/bootstrap.js
vendored
9
test/bootstrap.js
vendored
|
@ -9,15 +9,6 @@
|
||||||
require('source-map-support').install();
|
require('source-map-support').install();
|
||||||
require('chai').should();
|
require('chai').should();
|
||||||
var fs = require('fs');
|
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) {
|
function getTestSuite (dir) {
|
||||||
return fs.readdirSync(dir)
|
return fs.readdirSync(dir)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user