language: node_js
node_js:
  - "0.12.0"
env:
  - TEST_DIR=router-page-switcher
  - TEST_DIR=timer
script: cd $TEST_DIR && npm install && npm test

language: node_js
node_js:
  - "0.12.0"
branches:
  only:
    - gh-pages
    - /^.*$/
env:
  - TEST_DIR=router-page-switcher
  - TEST_DIR=timer
script: cd $TEST_DIR && npm install && npm test

Add gh-pages as a testing target on Travis
Add gh-pages as a testing target on Travis
