Skip to content

Commit

Permalink
Add rethinkdb to Travis. Check STF version.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunta committed Jul 15, 2015
1 parent 67ac6e3 commit ca67e86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ addons:
- libzmq3-dev
- libprotobuf-dev
- graphicsmagick
- rethinkdb
before_script:
- ./node_modules/bower/bin/bower install
- npm install -g bower
- bower install
cache:
directories:
- node_modules
Expand Down
8 changes: 7 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,18 @@ gulp.task('jscs', function () {
});

gulp.task('lint', ['jshint', 'jsonlint'])
gulp.task('test', ['lint'])
gulp.task('test', ['lint', 'run:checkversion'])

gulp.task('build', function (cb) {
runSequence('clean', 'webpack:build', cb)
})

gulp.task('run:checkversion', function () {
gutil.log('Checking STF version...')

return run('./bin/stf -V').exec()
})

gulp.task('karma_ci', function (done) {
karma.start({
configFile: __dirname + karmaConfig,
Expand Down

0 comments on commit ca67e86

Please sign in to comment.