Skip to content

Commit

Permalink
ci setup, remove grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
ckatzorke committed Sep 18, 2018
1 parent 8a5ede8 commit da29f90
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 93 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,css,html,dust}]
charset = utf-8

# 2 space indentation
[*.js,*.json,*.yml,*.css,*.html,*.dust]
indent_style = space
indent_size = 2
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
language: node_js
node_js:
- "0.11"
- "0.10"
- "10.10"
cache:
directories:
- "node_modules"
before_deploy: "npm test"
deploy:
provider: npm
email: $NPM_EMAIL
api_key: $NPM_TOKEN
on:
tags: true
7 changes: 2 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = function (grunt) {
pkg: '<json:package.json>',

jshint: {
files: ['app.js', 'lib/*.js', 'public/js/*.js', 'test/**/*.js'],
files: ['app.js', 'src/*.js', 'public/js/*.js', 'test/**/*.js'],
options: {
bitwise: true,
eqeqeq: true,
Expand All @@ -24,10 +24,7 @@ module.exports = function (grunt) {

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

grunt.registerTask('selenium', 'Run Selenum tests', function () {
require('./test/selenium/basic-test.js')(this.async());
});

grunt.registerTask('test', ['jshint', 'selenium']);
grunt.registerTask('test', ['jshint']);
grunt.registerTask('default', ['test']);
};
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
"underscore": "1.4.2"
},
"devDependencies": {
"grunt": "0.4.1",
"grunt-contrib-jshint": "0.5.4",
"wd": "0.0.32"
},
"engines": {
Expand Down
Empty file added src/avrodoc.js
Empty file.
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if (argv.output) {
}

//valid input?
if (!inputFiles || inputFiles.length === 0 || outputFile == null) {
if (!inputFiles || inputFiles.length === 0 || outputFile === null) {
sys.error('Usage: avrodoc [-i rootfolder] [my-schema.avsc [another-schema.avsc...]] [-o=my-documentation.html]');
process.exit(1);
}
Expand Down
42 changes: 0 additions & 42 deletions test/sauce_connect.sh

This file was deleted.

41 changes: 0 additions & 41 deletions test/selenium/basic-test.js

This file was deleted.

0 comments on commit da29f90

Please sign in to comment.