forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.49 KB
/
.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
41
42
43
44
45
46
47
48
49
notifications:
email: false
language: node_js
node_js:
- '0.10'
before_script:
- "npm install -g bower"
- "cd test/site/www && bower install && cd ../../../"
- "curl -O http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar"
- "java -jar selenium-server-standalone-2.39.0.jar 2>&1 >/dev/null &"
- "2>/dev/null 1>/dev/null python -m SimpleHTTPServer 8080 &"
script: "if [[ $TRAVIS_BRANCH == 'master' && $_BROWSER == 'phantomjs' ]] || [[ $TRAVIS_BRANCH != 'master' && $_BROWSER != 'phantomjs' ]]; then echo 'This test was skipped' && exit 0; else npm run coverage; fi"
after_script:
- "[ -d ./coverage ] && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
addons:
sauce_connect: true
env:
global:
- SAUCE_USERNAME=camme-webdriverjs
- secure: lSzNpGQXV8HlReK2meTE7ySWoYnVy1n1BIln0pZGcJ0jovHpitVGnR2S/0Bu91td8agjlNUWksBR72PCSDoTQyAH105EVDVkUXkGQoKvKrdnvszGGO/aDu0Ly2Mwc47zR9BILleAtOiW+yQGd7fRdgVy1sPYPDydlUDdRpqXi0w=
matrix:
- _BROWSER: "chrome"
_PLATFORM: "Windows_8"
_VERSION: "31"
- _BROWSER: "firefox"
_PLATFORM: "Windows_8"
_VERSION: "25"
- _BROWSER: "internet_explorer"
_PLATFORM: "Windows_7"
_VERSION: "10"
- _PLATFORM: "Mac"
_APP: "safari"
_DEVICE: "iPhone_Simulator"
_VERSION: "7"
_ENV: "mobile"
- _PLATFORM: "Mac"
_APP: "safari"
_DEVICE: "iPad_Simulator"
_VERSION: "7"
_ENV: "mobile"
- _BROWSER: "phantomjs"