Permalink
Browse files

Added Travis CI

Some basic settings for node-webkit in package.json: window, main
Removed stale .htaccess
  • Loading branch information...
1 parent e172b56 commit 1b25caae4930136769d933cc9acaf98c53f38f0b @gbraad committed Oct 15, 2012
Showing with 81 additions and 1 deletion.
  1. +0 −1 .htaccess
  2. +5 −0 .travis.yml
  3. +2 −0 README.md
  4. +41 −0 grunt.js
  5. +33 −0 package.json
View
@@ -1 +0,0 @@
-AddType application/x-web-app-manifest+json .webapp
View
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+ - 0.6
+ - 0.8
+ - 0.9
View
@@ -1,6 +1,8 @@
GAuth Authenticator
===================
+[![Build Status](https://secure.travis-ci.org/gbraad/html5-google-authenticator.png?branch=master)](http://travis-ci.org/gbraad/html5-google-authenticator)
+
A simple application for multi-factor authentication, written in HTML using
jQuery Mobile (and PhoneGap), jsSHA and LocalStorage. It implements RFC4226
(HMAC-based OTP) and has been tested to work with Google Authenticator,
View
@@ -0,0 +1,41 @@
+/*global module:false*/
+module.exports = function(grunt) {
+
+ // Project configuration.
+ grunt.initConfig({
+ lint: { // 'lib/**/*.js'
+ files: ['grunt.js', 'src/**/*.js', 'test/**/*.js']
+ },
+ qunit: {
+ files: ['test/**/*.html']
+ },
+ watch: {
+ files: '<config:lint.files>',
+ tasks: 'lint qunit'
+ },
+ jshint: {
+ options: {
+ curly: true,
+ eqeqeq: true,
+ immed: true,
+ latedef: true,
+ newcap: true,
+ noarg: true,
+ sub: true,
+ undef: true,
+ boss: true,
+ eqnull: true,
+ browser: true
+ },
+ globals: {
+ jQuery: true
+ }
+ }
+ });
+
+ // Default task.
+ grunt.registerTask('default', 'lint qunit');
+
+ // Travis CI task.
+ grunt.registerTask('travis', 'lint qunit');
+};
View
@@ -0,0 +1,33 @@
+{
+ "name": "html5-gauth",
+ "version": "0.0.1",
+ "description": "simple application for muti-factor authentication",
+ "keywords": [
+ "totp",
+ "gauth"
+ ],
+ "author": "Gerard Braad",
+ "license": "GPL",
+ "bugs": {
+ "url": "https://github.com/gbraad/html5-google-authenticator/issues"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/gbraad/html5-google-authenticator.git"
+ },
+ "main": "index.html",
+ "window": {
+ "width": 360,
+ "height": 480,
+ "toolbar": false
+ },
+ "dependencies": {
+ },
+ "devDependencies": {
+ "grunt": "~0.3.14",
+ "jshint": "latest"
+ },
+ "scripts": {
+ "test": "grunt travis --verbose"
+ }
+}

0 comments on commit 1b25caa

Please sign in to comment.