Skip to content

Commit

Permalink
Remove jshint and Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
timdream committed Dec 12, 2020
1 parent e150a94 commit 0f34c75
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 44 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/slimerjs.log
/profile
/test
/.travis.yml
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

23 changes: 1 addition & 22 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = function(grunt) {
var TEST_URL = 'http://localhost:' + HTTPD_PORT + '/test/';

var BASE_COMMIT = grunt.option('base-commit') ||
process.env.TRAVIS_BRANCH ||
'';

grunt.initConfig({
Expand Down Expand Up @@ -41,22 +40,13 @@ module.exports = function(grunt) {
port: HTTPD_PORT
}
}
},
jshint: {
options: {
jshintrc: true,
reporterOutput: "" // Workaround jshint/jshint#2922
},
all: ['src/*.js']
}
});

grunt.loadNpmTasks('grunt-contrib-jshint');

grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-contrib-connect');

grunt.registerTask('test', ['jshint','test-slimerjs']);
grunt.registerTask('test', ['test-slimerjs']);
grunt.registerTask('compare', ['compare-slimerjs']);

// Run the test suite with QUnit on SlimerJS
Expand All @@ -65,15 +55,4 @@ module.exports = function(grunt) {
// Run the test suite with QUnit on SlimerJS
grunt.registerTask('compare-slimerjs',
['connect', 'shell:compare-slimerjs']);

grunt.registerTask('travis-ci', function() {
if (process.env.TRAVIS_PULL_REQUEST === 'false') {
// Not working on pull requests -- simply run test job.
grunt.task.run(['test']);
} else {
// Running on pull requests -- check linting, and compare the images with
// the branch to merge.
grunt.task.run(['jshint', 'compare']);
}
});
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# wordcloud2.js [![Build Status](https://travis-ci.org/timdream/wordcloud2.js.svg?branch=gh-pages)](https://travis-ci.org/timdream/wordcloud2.js) [![npm version](https://badge.fury.io/js/wordcloud.svg)](http://badge.fury.io/js/wordcloud)
# wordcloud2.js [![npm version](https://badge.fury.io/js/wordcloud.svg)](http://badge.fury.io/js/wordcloud)

Create a tag cloud/[Wordle](http://www.wordle.net/) presentation on 2D canvas or HTML.

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"grunt": "^1.1.0",
"grunt-cli": "^1.3.2",
"grunt-contrib-connect": "^2.1.0",
"grunt-contrib-jshint": "^2.1.0",
"grunt-shell": "^0.6.4"
}
}

0 comments on commit 0f34c75

Please sign in to comment.