adding caching for packages and npm modules across builds. Also setting sudo to false as it's not used for anything during the build

This commit is contained in:
Liran Tal
2015-09-16 00:19:02 +03:00
parent 984e1680df
commit 97d7eb7155

View File

@@ -1,4 +1,5 @@
language: node_js
sudo: false
node_js:
- 0.10
- 0.12
@@ -24,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/