forked from appium/appium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (57 loc) · 1.34 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
language: node_js
node_js: "10"
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- build-essential
env:
global:
- CXX=g++-4.8
cache:
npm: false
jobs:
include:
- stage: Tests
name: node 10
before_script: npm outdated || true
script: npm run test && npm run e2e-test
after_script: npm run coverage
- stage:
name: node 12
before_script: npm outdated || true
script: npm run test && npm run e2e-test
node_js: "12"
- stage:
name: test documentation generation
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
language: python
python: "3.6"
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