Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Groves committed Oct 1, 2016
1 parent 6a4cbbb commit 2d97c11
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 10 deletions.
34 changes: 32 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@

# -*- mode: gitignore; -*-
node_modules
.DS_Store
/node_modules/
/bower_components/

### PHP storm ###
.idea
.idea/*
.idea/workspace.xml
atlassian-ide-plugin.xml
.settings

### vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

### Emacs ###
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*


.project
*.diff
*.patch
node_modules
bower_components
temp
.tmp
dist
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@ language: node_js
node_js:
- '0.10'
- '0.8'
before_install:
- npm update -g npm
- npm install -g grunt-cli
- npm install -g bower
- bower install
before_script:
- grunt
- grunt test
20 changes: 16 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,30 @@ module.exports = function (grunt) {
tasks: ['jshint:test', 'qunit']
}
},


connect: {
server: {
test: {
options: {
hostname: '*',
port: 9000
}
},
demo: {
options: {
protocol: 'http',
port: 9000,
hostname: '*',
base: 'demo',
directory: 'demo',
keepalive: true
}
}
}
});

// Default task.
grunt.registerTask('default', ['jshint', 'connect', 'qunit', 'clean', 'uglify']);
grunt.registerTask('server', ['connect', 'watch']);
grunt.registerTask('test', ['jshint', 'connect', 'qunit']);
grunt.registerTask('default', ['jshint', 'clean', 'uglify']);
grunt.registerTask('server', ['connect:test', 'watch']);
grunt.registerTask('test', ['connect:test', 'qunit']);
};
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8"/>
<title>jQueryUI accessible .dialog() demo</title>
<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="../bower_components/jqueryui/jquery-ui.min.js"></script>
<script src="../src/a11yDialog.js"></script>
<link type="text/css" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" />
Expand Down
6 changes: 3 additions & 3 deletions dist/a11yDialog.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d97c11

Please sign in to comment.