mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-31 04:12:15 +00:00
Add node, gulp and travis build steps
This commit is contained in:
@@ -9,6 +9,8 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install coveralls codeclimate-test-reporter
|
- pip install coveralls codeclimate-test-reporter
|
||||||
|
- npm install
|
||||||
|
- npm build
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- python manage.py collectstatic --noinput
|
- python manage.py collectstatic --noinput
|
||||||
|
|||||||
@@ -65,3 +65,7 @@ gulp.task('frontend', [
|
|||||||
// 'css',
|
// 'css',
|
||||||
'js_lib'
|
'js_lib'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
gulp.task('build', [
|
||||||
|
"frontend"
|
||||||
|
]);
|
||||||
|
|||||||
@@ -16,5 +16,8 @@
|
|||||||
"gulp-sourcemaps": "^2.6.0",
|
"gulp-sourcemaps": "^2.6.0",
|
||||||
"gulp-watch": "^4.3.11",
|
"gulp-watch": "^4.3.11",
|
||||||
"jquery": "^1.9.1"
|
"jquery": "^1.9.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "gulp build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user