diff --git a/.travis.yml b/.travis.yml index 1a8d1964de..2b79696091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,14 @@ language: node_js +sudo: false node_js: - - "0.10" - - "0.12" + - 0.10 + - 0.12 + - 4 env: - NODE_ENV=travis +matrix: + allow_failures: + - node_js: 4 services: - mongodb before_install: @@ -20,3 +25,8 @@ notifications: on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: never # options: [always|never|change] default: always +cache: + apt: true + directories: + - node_modules/ + - public/lib/