diff --git a/.travis.yml b/.travis.yml index 218810b..396e88d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ sudo: false -language: node_js -node_js: - - "5.1" +language: ruby +rvm: + - "2.2.3" branches: only: - /.*/ +before_install: + - npm install cache: + bundler: true directories: - node_modules +script: + - bundle exec jekyll build + - npm test diff --git a/gulpfile.js b/gulpfile.js index 2fedc54..2bec03a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -50,6 +50,9 @@ gulp.task('test', function () { gulp.task('js', ['build-js', 'js-lint', 'test']); + +// primary tasks + gulp.task('watch', function() { gulp.watch('bootstrap-toc.css', ['build-css']); gulp.watch('bootstrap-toc.js', ['js']);