Permalink
Browse files

TravisCI: Test with and without optional dependencies

  • Loading branch information...
1 parent 733f1e3 commit 2ceddf7e793feb99c5b6a76998efe238965b22cd @Turbo87 Turbo87 committed Oct 15, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 .travis.yml
View
@@ -2,3 +2,11 @@ language: node_js
node_js:
- 0.8
- 0.10
+
+env:
+ - OPTIONALS=Y
+ - OPTIONALS=N
+
+install:
+ - if [[ "$OPTIONALS" == "Y" ]]; then npm install; fi
+ - if [[ "$OPTIONALS" == "N" ]]; then npm install --no-optional; fi

0 comments on commit 2ceddf7

Please sign in to comment.