forked from ModuleLoader/es-module-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 963 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
git:
depth: 1
language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
# - 'iojs'
env:
global:
- SAUCE_LABS=false PARSER=false OPTIONS=""
matrix:
- PARSER="traceur"
- PARSER="babel"
- PARSER="typescript"
matrix:
include:
- node_js: "0.10"
env: SAUCE_LABS=true PARSER="traceur"
- node_js: "0.10"
env: SAUCE_LABS=true PARSER="babel"
- node_js: "0.10"
env: SAUCE_LABS=true PARSER="typescript"
# - node_js: "0.10"
# env: SAUCE_LABS=true PARSER="traceur" OPTIONS="--ie8"
# - node_js: "0.10"
# env: SAUCE_LABS=true PARSER="babel" OPTIONS="--ie8"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm update -g
- npm install -g karma-cli grunt-cli
before_script:
- grunt
script:
- npm run test:node
- npm run test:browser-$PARSER
- "[ $SAUCE_LABS == false ] || npm run test:browser-$PARSER -- --saucelabs $OPTIONS"