Skip to content

3.2 Configure for Travis

zoe-1 edited this page Mar 28, 2015 · 1 revision

Configure for Travis

What does Travis do?
Travis tests your github projects against one or more
versions of node.js or io.js. After every push to your github repository, Travis
will automatically run your tests against all versions mentioned in the .travis.yml file.

Put a .travis.yml file into the project's root directory.
Add below content to it to implement testing on node 0.10, 0.12, and io.js (latest).
.travis.yml should look like:

language: node_js

node_js:
  - 0.10
  - 0.12
  - iojs


For more about Travis go to: [Travis Getting Started Tutorial](http://docs.travis-ci.com/user/getting-started/)

[Next 3.3 Install Packages](https://github.com/zoe-1/hueniversity/wiki/3.3-Install-Packages)

Clone this wiki locally