forked from gemini-testing/gemini
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (58 loc) · 1.67 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: node_js
sudo: false
script: npm run ${NPM_SCRIPT}
after_success: cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls
node_js: '4'
env:
global:
# SAUCE_USERNAME
- secure: SGYVs5XUYWTZVbc7OCXjw8EeWZvmoM46vWk/bTJRLLLDrNGxSSNubhuToDmEWC0lV02qtp8W1XKJt2d/nmG/dJ7K1SZfLQSZi/zTRfkPWtf9uaaPOHMGt7O69lipnuaaSOavVlZfOPIg02iVjCj9Mwy/BAaRSR4qWeN+N6Sp0kI=
# SAUCE_ACCESS_KEY
- secure: gmcCnuKOboJ2hFKZV8gxUzg1w/RbYr2YN0fky6llXQWi+VHZMa+YIN4HPOP4JVyvbGQA/6JQTj4E9JVAb9MnnBk58nXcEn5R8V9RU5EMBC8+zme22ILMFIvnrPhcMzjoEuupfGxbXmqzASNTWtQQd0qQ2flm8OyOMl+jCqAWCHs=
- CXX=g++-4.8
cache:
directories:
- node_modules
matrix:
fast_finish: true
include:
- env: NPM_SCRIPT=lint
# unit tests
- env: NPM_SCRIPT='test-unit --coverage'
# functional tests that do not require browsers
- env: NPM_SCRIPT='test-func --coverage'
# functional tests that require browsers
- env:
- BROWSER=chrome
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=firefox
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=ie8
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=ie9
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=ie10
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=ie11
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=opera12
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=android4.4
- NPM_SCRIPT='test-browser --coverage'
- env:
- BROWSER=android5
- NPM_SCRIPT='test-browser --coverage'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8