forked from marionettejs/backbone.radio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 824 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: node_js
node_js:
- "0.10"
matrix:
include:
- node_js: "0.10"
env: UNDERSCORE=1.4.4 BACKBONE=1.0 MAINRUN=false
- node_js: "0.10"
env: UNDERSCORE=1.5 BACKBONE=1.0 MAINRUN=false
- node_js: "0.10"
env: UNDERSCORE=1.6 BACKBONE=1.0 MAINRUN=false
- node_js: "0.10"
env: UNDERSCORE=1.4.4 BACKBONE=1.1.0 MAINRUN=false
- node_js: "0.10"
env: UNDERSCORE=1.5 BACKBONE=1.1 MAINRUN=false
env: MAINRUN=true
before_install:
- npm config set ca ""
install:
- npm install -g grunt-cli
- npm install
# Which matrix settings -- otherwise default
- if [[ $MAINRUN == false ]]; then npm install backbone@$BACKBONE; fi
- if [[ $MAINRUN == false ]]; then npm install underscore@$UNDERSCORE; fi
after_success:
- if [[ $MAINRUN == true ]]; then npm run-script coverage; fi