-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (53 loc) · 1.29 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
language: python
python: '3.6'
sudo: false
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
matrix:
- TOXENV=check
- TOXENV=docs
matrix:
include:
# - python: '2.7'
# env:
# - TOXENV=py27,coveralls,codecov
- python: '3.5'
env:
- TOXENV=py35,coveralls,codecov
- python: '3.6'
env:
- TOXENV=py36,coveralls,codecov
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda config --add channels omnia
- conda config --add channels conda-forge
- conda create -q -n test-env python=$TRAVIS_PYTHON_VERSION numpy six tox
- source activate test-env
- chmod +x $HOME/miniconda/envs/test-env/bin/tox
- virtualenv --version
- easy_install --version
- pip --version
- pip install tox-conda
- tox --version
script:
- tox -v
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: never
on_failure: always