Add node, gulp and travis build steps

This commit is contained in:
Tom Price
2017-05-09 13:42:20 +01:00
parent 8ef755ce05
commit cf62a8047d
3 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -65,3 +65,7 @@ gulp.task('frontend', [
// 'css',
'js_lib'
]);
gulp.task('build', [
"frontend"
]);

View File

@@ -16,5 +16,8 @@
"gulp-sourcemaps": "^2.6.0",
"gulp-watch": "^4.3.11",
"jquery": "^1.9.1"
},
"scripts": {
"build": "gulp build"
}
}