language: node_js
node_js:
  - "7"
script:
 - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then npm run test-integration; fi
 - if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then npm run test; fi
