This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
forked from aboutcode-org/scancode-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
130 lines (118 loc) · 3.52 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
122
123
124
125
126
127
128
129
130
matrix:
include:
- os: osx
env:
- PYTHON="3.6.8"
- TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: generic
python:
- os: osx
env:
- PYTHON="3.6.8"
- TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: generic
python:
- os: osx
env:
- PYTHON="2.7.15"
- TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: generic
python:
- os: osx
env:
- PYTHON="2.7.15"
- TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml tests/scancode"
language: generic
python:
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: python
python: "2.7"
dist: xenial
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml tests/scancode"
language: python
python: "2.7"
dist: xenial
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: python
python: "2.7"
dist: bionic
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml tests/scancode"
language: python
python: "2.7"
dist: bionic
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: python
python: "3.6"
dist: xenial
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: python
python: "3.6"
dist: xenial
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 --cov=src --cov-report=term --cov-report=xml -n2 --ignore=tests/scancode"
language: python
python: "3.6"
dist: bionic
- os: linux
sudo: required
env: TEST_SUITE="bin/py.test -vvs --reruns 3 tests/scancode"
language: python
python: "3.6"
dist: bionic
- os: linux
sudo: required
script:
- source bin/activate
- cd docs
- ./scripts/sphinx_build_link_check.sh
- ./scripts/doc8_style_check.sh
language: python
python: "3.6"
dist: bionic
addons:
homebrew:
packages:
- openssl
- readline
- sqlite3
- xz
- zlib
- pyenv
update: true
before_install:
- chmod +x ./docs/scripts/sphinx_build_link_check.sh
- chmod +x ./docs/scripts/doc8_style_check.sh
install:
- ./configure
script:
# If debugging, use a subset of tests to wait less:
# - ./bin/py.test -n 2 -vvs --cov=src tests/scancode
# - echo $TEST_SUITE
- $TEST_SUITE
# Pay attention to both calls below. They will succeed even if there
# is no coverage information or connection to reporting website fails.
after_success:
- ./bin/codecov
notifications:
irc:
channels:
- "chat.freenode.net#aboutcode"
on_success: change
on_failure: always
use_notice: true
skip_join: true
template:
- "%{repository_slug}#%{build_number} (%{branch}-%{commit}:%{author})-%{message}- %{build_url}"