Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

3.2 Configure for Travis

Gareth edited this page Apr 14, 2015 · 4 revisions

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/hueniverse/hueniversity/wiki/3.3-Install-Packages)