This repository has been archived by the owner on Oct 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
63 lines (60 loc) · 1.52 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
after_success:
- pip install coveralls
- coveralls
stages:
- test
- name: deploy
if:
tag IS present AND repo = SainsburyWellcomeCentre/neuro
jobs:
include:
- stage: test
name: "Ubuntu Bionic python 3.6"
language: python
os: linux
dist: bionic
python: 3.6
script: travis_wait 40 bash travis/install_test_linux.sh
- stage: test
name: "Ubuntu Bionic python 3.7"
language: python
os: linux
dist: bionic
python: 3.7
script: travis_wait 40 bash travis/install_test_linux.sh
- stage: test
name: "Ubuntu Xenial python 3.7"
language: python
os: linux
dist: xenial
python: 3.7
script: travis_wait 40 bash travis/install_test_linux.sh
- stage: test
name: "Windows Python 3.7"
language: shell
env: TRAVIS_PYTHON_VERSION=3.7
os: windows
before_install:
- source travis/install_windows.sh
script: travis_wait 40 bash travis/test_windows.sh
- stage: test
name: "macOS Python 3.7"
os: osx
language: shell
env: TRAVIS_PYTHON_VERSION=3.7
script: travis_wait 40 bash travis/install_test_osx.sh
- stage: deploy
os: bionic
name: "Deploy Linux"
language: python
script: bash travis/deploy_linux.sh
notifications:
email:
recipients:
on_success: change
on_failure: always
env:
global:
- TWINE_USERNAME=__token__
# TWINE_PASSWORD is set to a PyPI API token in Travis settings