forked from skycoin/skyflash
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
81 lines (71 loc) · 3.67 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
78
79
80
matrix:
include:
- name: "Xenial Linux with Python 3.7.1"
python: 3.7
os: linux
dist: xenial
language: shell
env: TARGETOS=linux
- name: "macOS with Python 3.7.2"
os: osx
osx_image: xcode10.2
language: shell
before_install:
- python3 --version ; pip3 --version ; sw_vers
env: TARGETOS=osx
- name: "Windows (Wine) over Xenial Linux with Python 3.7.1"
os: linux
dist: xenial
language: shell
services:
- docker
env: TARGETOS=windows
# install dependencies depending on the OS
install:
- ./travis/install.sh $TARGETOS
script:
- make init
- make install
notifications:
email: false
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify
before_deploy:
- ./travis/before_deploy.sh $TARGETOS
# deploy step
deploy:
# deploy on linux
- provider: releases
api_key:
secure: 4P+ztW5gTP6j697PUg1WIleofHvLrzUd/UM0Oc1vW99FRSLB1CrvntJ1z4SXR5Ogol0FYnTonhY98akQZQtvEMyJXCfE227WALNdlHVVdiIedTD4a2IY3gu3aVlgq/t9nAuQM9plM8Pi1fvzXS2Qz8xXi1Rpa0m9Q/bZx60BOFzd8585nT4t4qkGnzoWAZNWfNX6OLaq3cdRU01y2ys0eRshaVwyRX5KeSzlXTa6q6ILwhjHJA3clNrm7HjaWmEQbEGPYD7KoGDPUrCUZFB8L98Yz7y7mmiT0gj7+vZvoBoZ+tXKSgigM7CO0rP8/pPaTql28b1UzBHlqJLjtwQtNtPk4dWLZ2MXK9KuSitOlaFgmsSd1PS70F49FW7+ki1T0sbn2pLBTfAeps3bzPeEsYngF6+/knlx9O9JIbSJX14AvDFgzO90gzurOXfOwHzZZPkyjnT9ulVZ5h2Y9HbV0uu2qOBzgHnQeTDlpxAIiuj47AGmO5FM0ywJJepqqEB7ESml2WEsNNtJuTT3bbU+CvpquMS6iLhNkauK6kiXknR9q23egDwLq8Q1DU0zcr9hrbLGVV+xPU1gD4E6+0SA2Kr9/z3woOObJ1mVJ2IzCkq45etJBaNCRLoKkC/udn/sXWnahQcJPw4HnrWEVQmP7bCmjB7BliF3/06+WIU5Ero=
file_glob: true
file:
- "final/*linux64-static.gz"
draft: true
skip_cleanup: true
on:
all_branches: true
condition: "$TARGETOS = linux && $TRAVIS_BRANCH =~ ^master$|^release-.*$"
# deploy on macos
- provider: releases
api_key:
secure: 4P+ztW5gTP6j697PUg1WIleofHvLrzUd/UM0Oc1vW99FRSLB1CrvntJ1z4SXR5Ogol0FYnTonhY98akQZQtvEMyJXCfE227WALNdlHVVdiIedTD4a2IY3gu3aVlgq/t9nAuQM9plM8Pi1fvzXS2Qz8xXi1Rpa0m9Q/bZx60BOFzd8585nT4t4qkGnzoWAZNWfNX6OLaq3cdRU01y2ys0eRshaVwyRX5KeSzlXTa6q6ILwhjHJA3clNrm7HjaWmEQbEGPYD7KoGDPUrCUZFB8L98Yz7y7mmiT0gj7+vZvoBoZ+tXKSgigM7CO0rP8/pPaTql28b1UzBHlqJLjtwQtNtPk4dWLZ2MXK9KuSitOlaFgmsSd1PS70F49FW7+ki1T0sbn2pLBTfAeps3bzPeEsYngF6+/knlx9O9JIbSJX14AvDFgzO90gzurOXfOwHzZZPkyjnT9ulVZ5h2Y9HbV0uu2qOBzgHnQeTDlpxAIiuj47AGmO5FM0ywJJepqqEB7ESml2WEsNNtJuTT3bbU+CvpquMS6iLhNkauK6kiXknR9q23egDwLq8Q1DU0zcr9hrbLGVV+xPU1gD4E6+0SA2Kr9/z3woOObJ1mVJ2IzCkq45etJBaNCRLoKkC/udn/sXWnahQcJPw4HnrWEVQmP7bCmjB7BliF3/06+WIU5Ero=
file_glob: true
file:
- "final/*-app.tgz"
draft: true
skip_cleanup: true
on:
all_branches: true
condition: "$TARGETOS = osx && $TRAVIS_BRANCH =~ ^master$|^release-.*$"
# deploy on windows
- provider: releases
api_key:
secure: 4P+ztW5gTP6j697PUg1WIleofHvLrzUd/UM0Oc1vW99FRSLB1CrvntJ1z4SXR5Ogol0FYnTonhY98akQZQtvEMyJXCfE227WALNdlHVVdiIedTD4a2IY3gu3aVlgq/t9nAuQM9plM8Pi1fvzXS2Qz8xXi1Rpa0m9Q/bZx60BOFzd8585nT4t4qkGnzoWAZNWfNX6OLaq3cdRU01y2ys0eRshaVwyRX5KeSzlXTa6q6ILwhjHJA3clNrm7HjaWmEQbEGPYD7KoGDPUrCUZFB8L98Yz7y7mmiT0gj7+vZvoBoZ+tXKSgigM7CO0rP8/pPaTql28b1UzBHlqJLjtwQtNtPk4dWLZ2MXK9KuSitOlaFgmsSd1PS70F49FW7+ki1T0sbn2pLBTfAeps3bzPeEsYngF6+/knlx9O9JIbSJX14AvDFgzO90gzurOXfOwHzZZPkyjnT9ulVZ5h2Y9HbV0uu2qOBzgHnQeTDlpxAIiuj47AGmO5FM0ywJJepqqEB7ESml2WEsNNtJuTT3bbU+CvpquMS6iLhNkauK6kiXknR9q23egDwLq8Q1DU0zcr9hrbLGVV+xPU1gD4E6+0SA2Kr9/z3woOObJ1mVJ2IzCkq45etJBaNCRLoKkC/udn/sXWnahQcJPw4HnrWEVQmP7bCmjB7BliF3/06+WIU5Ero=
file_glob: true
file:
- "final/*.exe"
draft: true
skip_cleanup: true
on:
all_branches: true
condition: "$TARGETOS = windows && $TRAVIS_BRANCH =~ ^master$|^release-.*$"