Skip to content

Commit

Permalink
Configuration for Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
mikec committed Oct 28, 2015
1 parent f4e81cd commit 8a012c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
node_js:
- "4.0"
before_install:
- npm install -g grunt-cli
- npm install -g bower
- bower install
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = function(grunt) {

require('load-grunt-tasks')(grunt);

grunt.registerTask('check', ['jshint']);
grunt.registerTask('check', ['jshint', 'test']);

grunt.registerTask('test', ['karma']);

Expand All @@ -100,7 +100,6 @@ module.exports = function(grunt) {

grunt.registerTask('build', [
'check',
'test',
'package'
]);

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
scroll-repeat
=============

[![Build Status](https://travis-ci.org/mikec/scroll-repeat.svg?branch=master)](https://travis-ci.org/mikec/scroll-repeat)

Angular directive for displaying a large number of items (100,000+) in a scrolling view.


Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"grunt-contrib-clean": "0.6.0",
"grunt-contrib-uglify": "0.7.0",
"grunt-contrib-jshint": "0.11.0"
},
"scripts": {
"test": "grunt check"
}
}

0 comments on commit 8a012c6

Please sign in to comment.