-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (46 loc) · 1.05 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
dist: xenial
language: python
python: 3.6
install: true
script: true
deploy:
# Development / test deployment
- provider: pypi
skip_cleanup: true
user: aleg
password: "$PYPI_PW"
server: https://test.pypi.org/legacy/
on:
all_branches: true
tags: true
condition: $TRAVIS_TAG == *.dev*
- provider: script
skip_cleanup: true
script: bash ./deploy_anaconda.sh $ANACONDA_DEV_TOKEN
on:
all_branches: true
tags: true
condition: $TRAVIS_TAG == *.dev*
# Production version deployment
- provider: pypi
skip_cleanup: true
user: aleg
password: "$PYPI_PW"
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG != *.dev*
- provider: script
skip_cleanup: true
script: bash ./deploy_anaconda.sh $ANACONDA_TOKEN
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG != *.dev*
- provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
on:
tags: true
all_branches: true
condition: $TRAVIS_TAG != *.dev*