Skip to content

Instantly share code, notes, and snippets.

@BenGitsCode
Created January 17, 2017 21:32
Show Gist options
  • Save BenGitsCode/986fe680e5b1e7cf3ac7d19d14512926 to your computer and use it in GitHub Desktop.
Save BenGitsCode/986fe680e5b1e7cf3ac7d19d14512926 to your computer and use it in GitHub Desktop.
.travis.yml Javascript Unit CI Testing
language: node_js
node_js:
- '6'
before_script: # before running scripts
- 'npm install'
- 'npm install -g grunt-cli'
script: # run these scripts
- 'grunt nag'
- 'grunt test'
# whitelist
branches:
only:
- 'response'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment