Skip to content

Commit

Permalink
travis build changes
Browse files Browse the repository at this point in the history
changed the order of build

running gulp at first
  • Loading branch information
sendilkumarn committed Mar 2, 2017
1 parent 6ffcda4 commit 0b4e544
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ before_script:
- export LIGHTHOUSE_CHROMIUM_PATH="$(pwd)/chrome-linux/chrome"
- sh -e /etc/init.d/xvfb start
- ./lighthouse-core/scripts/download-chrome.sh
- npm run build-cli
- npm run build-extension
- npm run build-viewer
- npm run build-all
script:
- npm run lint
- npm run unit
Expand Down
4 changes: 2 additions & 2 deletions lighthouse-extension/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ gulp.task('clean', () => {
});


gulp.task('watch', ['lint', 'browserify', 'html', 'compileReport', 'compilePartials'], () => {
gulp.task('watch', ['lint', 'compileReport', 'compilePartials', 'browserify', 'html'], () => {
livereload.listen();

gulp.watch([
Expand Down Expand Up @@ -207,7 +207,7 @@ gulp.task('compile-templates', ['compileReport', 'compilePartials']);

gulp.task('build', cb => {
runSequence(
'lint', 'browserify', 'chromeManifest', 'compile-templates',
'lint', 'compile-templates', 'browserify', 'chromeManifest',
['html', 'images', 'css', 'extras'], cb);
});

Expand Down
2 changes: 1 addition & 1 deletion lighthouse-viewer/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ gulp.task('compile-templates', ['compileReport', 'compilePartials']);

gulp.task('build', cb => {
runSequence(
'lint', 'compile', 'compile-templates',
'lint', 'compile-templates', 'compile',
['html', 'images', 'concat-css', 'polyfills'], cb);
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"install-cli": "cd ./lighthouse-cli && npm install",
"install-extension": "cd ./lighthouse-extension && npm install",
"install-viewer": "cd ./lighthouse-viewer && npm install",
"build-all": "npm run build-cli && npm run build-extension && npm run build-viewer",
"build-all": "gulp && npm run build-cli && npm run build-extension && npm run build-viewer",
"build-cli": "cd ./lighthouse-cli && npm run build",
"build-extension": "cd ./lighthouse-extension && npm run build",
"build-viewer": "cd ./lighthouse-viewer && npm run build",
Expand Down

0 comments on commit 0b4e544

Please sign in to comment.