addyosmani / essential-js-design-patterns

Repo for my 'Learning JavaScript Design Patterns' book
http://addyosmani.com/resources/essentialjsdesignpatterns/book/
4.8k stars 791 forks source link

update travis.yml to run grunt build task #206

Open vukasin-nikodijevic opened 7 years ago

vukasin-nikodijevic commented 7 years ago

Currently travis config requires only node v0.10 but I don't see that it runs grunt build task.

To have repo build 100% VALID, travis MUST run grunt task right after npm install.

addyosmani commented 7 years ago

@vukasin0 Thanks for noticing that. Is the suggestion here to add:

after_success:
  - grunt build

to the travis config?

vukasin-nikodijevic commented 7 years ago

Here is good example: https://stackoverflow.com/questions/21128478/run-grunt-build-command-on-travis-ci