-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
77 lines (69 loc) · 1.57 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
language: python
stages:
- Test
- Deploy
- Test_deployed
matrix:
include:
# Test related
- stage: Test
python: 3.8
os: linux
dist: bionic
script: ./.travis_test.sh
#script: coveralls
- stage: Test
python: 3.7
os: linux
dist: xenial
script: ./.travis_test.sh
#script: coveralls
- stage: Test
python: 3.6
os: linux
dist: xenial
script: ./.travis_test.sh
#script: coveralls
- stage: Test
env: CONDA_PY='3.8'
language: generic
os: osx
osx_image: xcode11
script: ./.travis_test.sh
- stage: Test
env: CONDA_PY='3.7'
language: generic
os: osx
osx_image: xcode11
script: ./.travis_test.sh
- stage: Test
env: CONDA_PY='3.6'
language: generic
os: osx
osx_image: xcode11
script: ./.travis_test.sh
# Deployment related
- stage: Deploy
if: tag =~ /^release_[0-9]+\.[0-9]+\.[0-9]+/
python: 3.8
os: linux
dist: bionic
script: ./.travis_deploy.sh
# Test installation from testpypi or pypi (whichever was deployed)
- stage: Test_deployed
if: tag =~ /^release_[0-9]+\.[0-9]+\.[0-9]+/
python: 3.8
os: linux
dist: bionic
script: ./.travis_test.sh
- stage: Test_deployed
if: tag =~ /^release_[0-9]+\.[0-9]+\.[0-9]+/
env: CONDA_PY='3.8'
language: generic
os: osx
osx_image: xcode11
script: ./.travis_test.sh
before_install:
- ./.travis_before_install.sh
install:
- ./.travis_install.sh