forked from etingof/pyasn1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 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
language: python
cache: pip
matrix:
include:
- python: '2.7'
- python: '3.5'
- python: '3.6'
- python: '3.7'
- python: '3.8'
- python: 'nightly'
- python: 'pypy'
- python: 'pypy3'
# PPC64LE
- arch: ppc64le
python: 2.7
- arch: ppc64le
python: '3.5'
- arch: ppc64le
python: '3.6'
- arch: ppc64le
python: '3.7'
- arch: ppc64le
python: '3.8'
- arch: ppc64le
python: 'nightly'
# - arch: ppc64le
# python: 'pypy'
# - arch: ppc64le
# python: 'pypy3'
install:
- |
if [[ "${TRAVIS_CPU_ARCH}" == "ppc64le" ]]; then
sudo chown -Rvf $USER:$GROUP ~/.cache/pip/wheels
fi
- pip install codecov
- pip install -r requirements.txt -r devel-requirements.txt
- pip install -e .
script:
- PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then (make -C docs html); fi
after_success:
- PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
- codecov