Skip to content

Commit

Permalink
travisci
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarbarone committed Apr 12, 2016
1 parent edfe67f commit a1099e7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
@@ -0,0 +1,12 @@
language: node_js
node_js:
- "4.2.x"
before_script:
- 'npm install -g gulp'
- 'npm install'
- 'npm install -g bower'
- 'bower install'
cache:
directories:
- node_modules
- bower_components
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# angular-viacep
# angular-viacep  [![Build Status](https://travis-ci.org/cesarbarone/angular-viacep.png?branch=master)](https://travis-ci.org/cesarbarone/angular-viacep)

# ViaCEP AngularJS directive and service

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Expand Up @@ -12,7 +12,7 @@ var gulp = require('gulp'),
gulp.task('test', function (done) {
new Server({
configFile: __dirname + '/karma.conf.coffee',
singleRun: false
singleRun: true
}, done).start();
});

Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -42,5 +42,8 @@
"karma-mocha-reporter": "^2.0.0",
"karma-phantomjs-launcher": "^1.0.0",
"phantomjs-prebuilt": "^2.1.7"
},
"scripts": {
"test": "gulp test"
}
}

0 comments on commit a1099e7

Please sign in to comment.