forked from brainglobe/brainglobe-segmentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (60 loc) · 1.33 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
addons:
apt:
packages:
- x11-utils
- libxkbcommon-x11-0
services: xvfb
after_success:
- pip install coveralls
- coveralls
stages:
- lint
- test
- name: deploy
if:
tag IS present AND repo = brainglobe/brainreg-segment
jobs:
include:
- stage: lint
name: "Lint"
language: python
os: linux
dist: bionic
python: 3.7
script: bash travis/lint.sh
- 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: 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