-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (79 loc) · 2.13 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
language: python
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
matrix:
- TOXENV=check
# - TOXENV=docs #commenting this out until we have readthedocs and pypi setup
matrix:
include:
- python: '2.7'
env:
- TOXENV=py27,report,codecov
- python: '3.4'
env:
- TOXENV=py34,report,codecov
- python: '3.5'
env:
- TOXENV=py35,report,codecov
- python: '3.6'
env:
- TOXENV=py36,report,codecov
- python: '3.7'
dist: xenial
env:
- TOXENV=py37,report,codecov
# - python: 'pypy'
# env:
# - TOXENV=pypy,report,codecov
# - python: 'pypy3'
# env:
# - TOXENV=pypy3,report,codecov
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- pip install tox
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
# - |
# set -ex
# if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then
# (cd $HOME
# wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v6.0.0-linux64.tar.bz2
# tar xf pypy2-*.tar.bz2
# pypy2-*/bin/pypy -m ensurepip
# pypy2-*/bin/pypy -m pip install -U virtualenv
# pypy2-*/bin/pypy -m pip install -U numpy
# pypy2-*/bin/pypy --version
# )
# export PATH=$(echo $HOME/pypy2-*/bin):$PATH
# export TOXPYTHON=$(echo $HOME/pypy2-*/bin/pypy)
# fi
# if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then
# (cd $HOME
# wget https://bitbucket.org/pypy/pypy/downloads/pypy3-v6.0.0-linux64.tar.bz2
# tar xf pypy3-*.tar.bz2
# pypy3-*/bin/pypy3 -m ensurepip
# pypy3-*/bin/pypy3 -m pip install -U virtualenv
# pypy3-*/bin/pypy3 -m pip install -U numpy
# pypy3-*/bin/pypy3 --version
# )
# export PATH=$(echo $HOME/pypy3-*/bin):$PATH
# export TOXPYTHON=$(echo $HOME/pypy3-*/bin/pypy3)
# fi
# set +x
script:
- tox -v
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: never
on_failure: always