Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

TravisCI: Test with and without optional dependencies

  • Loading branch information...
commit 2ceddf7e793feb99c5b6a76998efe238965b22cd 1 parent 733f1e3
@Turbo87 Turbo87 authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 .travis.yml
View
8 .travis.yml
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.