forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
121 lines (114 loc) · 3.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
os: linux
dist: xenial
language: python
cache: pip
arch: amd64
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "nightly"
env:
AVOCADO_LOG_DEBUG=yes
AVOCADO_CHECK_LEVEL=1
addons:
apt:
packages:
- enchant
- hunspell-en-us
- golang
install:
- pip install -r requirements-selftests.txt
script:
- make check
jobs:
include:
- name: "Code Coverage"
python: "3.8"
arch: amd64
env:
- SELF_CHECK_CONTINUOUS=yes
- CC_TEST_REPORTER_ID=387887b88a76f31c2c376219fc749689ea5975c8fe7fcd9609f1dcc139e053a6
install:
- pip install -r requirements-selftests.txt
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- make develop && ./selftests/run_coverage
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- python: "3.8"
arch: s390x
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis s390x builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- python: "3.8"
arch: ppc64le
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis ppc64 builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- python: "3.8"
arch: arm64
env:
- AVOCADO_PARALLEL_LINT_JOBS=1
# Travis amd64 builders currently shows:
# [Errno 13] Permission denied: '/home/travis/.cache/pip/wheels/xx'
# Disable pip cache dir temporarily
install:
- pip install --no-cache-dir -r requirements-selftests.txt
- name: "Smokecheck on Windows"
os: windows
language: sh
python: "3.9"
before_install:
- choco install python3 --version 3.9.0
install:
- /c/Python39/python setup.py develop --user
script:
- /c/Python39/python -m avocado --help
- /c/Python39/python -m avocado run --test-runner=nrunner examples/tests/passtest.py
- name: "Smokecheck on OS X"
os: osx
language: c
osx_image: xcode10.3
compiler: clang
addons:
homebrew:
packages:
- python
update: false
install:
- python3 setup.py develop --user
script:
- python3 -m avocado --help
- python3 -m avocado run --test-runner=nrunner examples/tests/passtest.py
- name: "Ad hoc checks on OS X"
os: osx
language: c
osx_image: xcode10.3
compiler: clang
addons:
homebrew:
packages:
- python
update: false
install:
- python3 -m pip install -r requirements-selftests.txt
- python3 setup.py develop --user
script:
- python3 -m avocado --help
- python3 -m avocado --verbose list --resolver selftests/unit/* selftests/functional/* selftests/*sh
- python3 -m unittest discover -v selftests.unit
allow_failures:
- python: "nightly"
- name: "Ad hoc checks on OS X"