mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Merge branch 'ci'
This commit is contained in:
commit
c9a79501f6
2 changed files with 16 additions and 5 deletions
13
.travis.yml
13
.travis.yml
|
@ -3,12 +3,17 @@ node_js:
|
|||
- "0.12"
|
||||
- "0.10"
|
||||
- "iojs"
|
||||
before_install:
|
||||
- sudo apt-get install -qq libzmq3-dev libsodium-dev
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libzmq3-dev
|
||||
- libprotobuf-dev
|
||||
- graphicsmagick
|
||||
- rethinkdb
|
||||
before_script:
|
||||
- ./node_modules/bower/bin/bower install
|
||||
- npm install -g bower
|
||||
- bower install
|
||||
cache:
|
||||
apt
|
||||
directories:
|
||||
- node_modules
|
||||
- res/bower_components
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue