1 | # Run on new travis container (docker) based infrastructure
|
2 | sudo: false
|
3 | language: node_js
|
4 | node_js:
|
5 | - "5"
|
6 | - "5.1"
|
7 | - "4"
|
8 | - "4.2"
|
9 | - "4.1"
|
10 | - "4.0"
|
11 | - "0.12"
|
12 | - "0.11"
|
13 | - "0.10"
|
14 | - "iojs"
|
15 |
|
16 | before_install:
|
17 | # Install meteor and spacejam, a meteor command line package tester
|
18 | - 'if [ "$(node -v)" = "v0.10.36" ]; then curl https://install.meteor.com | /bin/sh; fi'
|
19 | - 'if [ "$(node -v)" = "v0.10.36" ]; then npm install -g spacejam; fi'
|
20 | - 'if [ "$(node -v)" = "v0.10.36" ]; then export PATH="$HOME/.meteor:$PATH"; fi'
|
21 |
|
22 | script:
|
23 | - "npm test"
|
24 | - 'if [ "$(node -v)" = "v0.10.36" ]; then spacejam test-packages --mongo-url=dummy ./; fi'
|