diff --git a/.travis.yml b/.travis.yml index 1efb7729..03142b07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ before_install: install: - pip install -r requirements.txt - pip install coveralls codeclimate-test-reporter + - npm install + - npm build before_script: - python manage.py collectstatic --noinput diff --git a/gulpfile.js b/gulpfile.js index 6b249d35..87ac991f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -65,3 +65,7 @@ gulp.task('frontend', [ // 'css', 'js_lib' ]); + +gulp.task('build', [ + "frontend" +]); diff --git a/package.json b/package.json index 695384c5..10dc31cf 100644 --- a/package.json +++ b/package.json @@ -16,5 +16,8 @@ "gulp-sourcemaps": "^2.6.0", "gulp-watch": "^4.3.11", "jquery": "^1.9.1" + }, + "scripts": { + "build": "gulp build" } }