Skip to content

Comments

Scaffolding: Travis, pre-commit, npm-scripts and test#1

Open
maxis1718 wants to merge 8 commits intofxxkit:masterfrom
maxis1718:scaffolding
Open

Scaffolding: Travis, pre-commit, npm-scripts and test#1
maxis1718 wants to merge 8 commits intofxxkit:masterfrom
maxis1718:scaffolding

Conversation

@maxis1718
Copy link
Member

  1. Add travis config: .travis.yml
  2. Add pre-commit hook, i.e., run jshint before git commit
  3. Add scripts of npm, e.g., npm test, npm lint
  4. Register a distribution task serve:dist, which can be started by running npm start
  5. Register a task mocha to run test using gulp-mocha

@maxis1718
Copy link
Member Author

in the previous build failed:

...
[17:29:56] 'fonts' errored after 37 ms
[17:29:56] Error: Bower components directory does not exist at /home/travis/build/fxxkit/yummy/bower_components
...

according to this solution, let's add bower install in .travis.yml to install bower components

@maxis1718 maxis1718 changed the title Scaffolding: Travis, pre-commit and npm-scripts Scaffolding: Travis, pre-commit, npm-scripts and test May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant