Prechádzať zdrojové kódy

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

Estevão Soares dos Santos 8 rokov pred
rodič
commit
93fecc8650
6 zmenil súbory, kde vykonal 7 pridanie a 15 odobranie
  1. 3 2
      .gitattributes
  2. 2 1
      .travis.yml
  3. 1 1
      dist/showdown.js
  4. 1 1
      dist/showdown.min.js
  5. 0 1
      package.json
  6. 0 9
      test/bootstrap.js

+ 3 - 2
.gitattributes

@@ -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

+ 2 - 1
.travis.yml

@@ -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

+ 1 - 1
dist/showdown.js

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

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 1 - 1
dist/showdown.min.js


+ 0 - 1
package.json

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

+ 0 - 9
test/bootstrap.js

@@ -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)

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov