forked from graphite-project/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (69 loc) · 1.37 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
# http://travis-ci.org/#!/graphite-project/carbon
dist: bionic
language: python
python: 3.9
matrix:
include:
- python: 2.7
arch: s390x
env:
- TOXENV=py27
- python: 3.6
arch: s390x
env:
- TOXENV=py36
- python: 3.7
arch: s390x
env:
- TOXENV=py37
- python: 3.8
arch: s390x
env:
- TOXENV=py38
- python: 3.9
arch: s390x
env:
- TOXENV=py39
- python: 3.9
arch: s390x
env:
- TOXENV=lint
#PPC64LE jobs:-
- python: 2.7
arch: ppc64le
env:
- TOXENV=py27
- python: 3.6
arch: ppc64le
env:
- TOXENV=py36
- python: 3.7
arch: ppc64le
env:
- TOXENV=py37
- python: 3.8
arch: ppc64le
env:
- TOXENV=py38
- python: 3.9
arch: ppc64le
env:
- TOXENV=py39
- python: 3.9
arch: ppc64le
env:
- TOXENV=lint
env:
- TOXENV=py39
- TOXENV=py39-pyhash
- TOXENV=lint
install:
- if [[ $(uname -m) == 's390x' ]]; then sudo rm -rf $HOME/.cache/pip; fi
- if echo "$TOXENV" | grep -q 'pyhash' ; then sudo apt-get -q install -y libboost-python-dev; fi
- if echo "$TOXENV" | grep -q '^py2' ; then pip install --upgrade pip virtualenv; fi
- pip install tox
script:
- tox -e $TOXENV
after_success:
- pip install codecov
- codecov