forked from appium/appium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (59 loc) · 1.35 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
language: node_js
node_js: "10"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- build-essential
env:
global:
- CXX=g++-4.8
jobs:
include:
- stage: Tests
name: node 10
os: linux
script: npm run test && npm run e2e-test
after_script: npm run coverage
- stage:
name: node 12
os: linux
script: npm run test && npm run e2e-test
node_js: "12"
- stage:
name: test documentation generation
os: linux
before_script:
- npm install
script:
- npm run generate-docs
- stage: Sample Code
name: JavaScript (wd)
# only want to run this on the main master branch
if: branch = master AND type != pull_request
env:
- SAUCE_LABS=1
install:
- cd sample-code/javascript-wd
- npm install
script:
- npm run test
- stage:
name: Python
# only want to run this on the main master branch
if: branch = master AND type != pull_request
os: linux
language: python
python: "2.7"
env:
- SAUCE_LABS=1
before_install:
- pip install --upgrade pip
install:
- cd sample-code/python
- pip install -r requirements.txt
- pip install pytest-xdist
script:
- py.test -v -n 30 test