-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
82 lines (78 loc) · 1.64 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
os: linux
dist: bionic
language: python
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- pip install tox
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
script:
- tox -v
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: never
on_failure: always
jobs:
include:
- stage: test
name: "Linting/Checking Package"
env:
- TOXENV=check
- stage: test
name: "Building Docs"
before_install:
- sudo apt-get update
- sudo apt-get install -y graphviz # https://github.com/nipy/nipype/issues/858
- python --version
- uname -a
- lsb_release -a
env:
- TOXENV=docs
python: '3.6' # match version from readthedocs
- stage: test
before_install:
- sudo apt-get update
- sudo apt-get install -y graphviz
python: '3.6'
env:
- TOXENV=py36
- stage: test
before_install:
- sudo apt-get update
- sudo apt-get install -y graphviz
python: '3.7'
env:
- TOXENV=py37
- stage: test
before_install:
- sudo apt-get update
- sudo apt-get install -y graphviz
python: '3.8'
env:
- TOXENV=py38,report,codecov
- stage: deploy
install: skip
script: skip
deploy:
provider: pypi
user: jdkent
password: $PYPI_PASS
distributions: sdist bdist_wheel
on:
tags: true
stages:
- test
- deploy