-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
38 lines (33 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
language: python # this works for Linux but is an error on macOS or Windows
matrix:
include:
- name: "Python 3.7.1 on Xenial Linux"
python: 3.7 # this works for Linux but is ignored on macOS or Windows
dist: xenial
- name: "Python 3.7.2 on macOS"
os: osx
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
addons:
artifacts:
paths:
- $(ls ./dist/* | tr "\n" ":")
install:
- pip3 install --upgrade pip
- pip3 install -r dev-requirements.txt
- pip3 install -r requirements.txt
- python3 --version
script:
- bash ./build.sh
before_deploy:
- export FILE_TO_UPLOAD=$(ls dist/* | tr "\n" ":")
deploy:
provider: releases
api_key:
- secure: "TqhA8rspj+oTlGm5FmXt3oJef9VGtLP5skX+kzlOO4v4LQJVoY2v+IeLHtNYu9Qq+NjoHUOsZVAdj85bNMhR94zWmDn3Y7vQYO3udxCWDahiv0GcBcrfPKc9CzycuCq460MxrezPFNUchY2+oYQQms3N3TS2fERg4Gpk/T5EWxWP/zcBCfQLpmChuD16QT6ww3o9lHvEwMoJAMn62rWIjlvzO+rrKSouou8CjKf9ZyOppAcLlkjYUYDqgfa3JotZOa9ssTMrP6YyRH6jfpsBlaLm+GU1B4qTJNnYgewSHuwKNmS9BarbwnuXglMw0oBWmD58XwgI+7xtNPdpCYt028f5Q78EIPoyWWcXVRYQ3ke9x3NdmWH4v5JXmx34lrc3bk7amYYXctLboQJJkal6emwLgz3kDdPho9wkvjBFKpXwSIFsEkulHMtgZAwVdnX+X5FxqRwbUTxmMvwRcO/teFb/JqUU8GrfpTYdIZVml2E0Zad8ESqvi7TevALxPBgD/YGD07sEheFPCBL1uyZw44YD2c0XB/iDPeM0pa8yIHqyJ3UIZo7iGKHf+DChefX8Ge9mCmZgM/fVg8AwyuDaDjT0MTewSCOo2IEPCB0q+QW7f6nfrhiWYpbnuRQ/4vgTw/oazAbYtCZMXkbghianTkzUzGhuMn56YpsuoGH1T44="
file_glob: true
file: "${FILE_TO_UPLOAD}"
skip_cleanup: true
draft: true
on:
tags: true