-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
58 lines (49 loc) · 2.12 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
language: python
matrix:
include:
- language: generic
os: osx
- python: "3.7"
addons:
homebrew:
packages:
- python3
before_install:
- export DEKEN_BASE_URL=https://raw.githubusercontent.com/${TRAVIS_PULL_REQUEST_SLUG:-$TRAVIS_REPO_SLUG}/${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}/developer
- echo ${DEKEN_BASE_URL}
install:
- mkdir -p ~/bin
- mkdir -p tmp
- cp developer/deken ~/bin/deken
- chmod u+x ~/bin/deken
- curl -fsSL -o tmp/deken-test.zip "https://puredata.info/Members/zmoelnig/tests/deken-test.zip"
- (cd tmp; unzip deken-test.zip; rm deken-test.zip)
script:
- ~/bin/deken upgrade --self
- ~/bin/deken --version
- ~/bin/deken --platform
- ~/bin/deken systeminfo
- ~/bin/deken package -v000.dekenci tmp/deken-test
- ~/bin/deken package --dekformat 0 -v000.dekenci tmp/deken-test
- ~/bin/deken find zexy
- ~/bin/deken find --architecture "*" --depth 0 zexy
# create binaries with pyinstaller
- ~/.deken/virtualenv/bin/pip install pyinstaller
- (cd developer; DEKEN_VERSION=$(git describe --always) ~/.deken/virtualenv/bin/pyinstaller deken.spec)
after_script:
- ls -l
- ls -l tmp/ developer/dist
before_deploy:
- mv developer/dist/deken developer/dist/deken-${TRAVIS_TAG}${TRAVIS_OS_NAME}
deploy:
provider: releases
file: developer/dist/deken-*
file_glob: true
skip_cleanup: true
on:
branch: master
tags: true
os: osx
repo: pure-data/deken
api-key:
secure: S35Qn8v4WAbO4X7Ia62vUj5bS5d4e/0YwUPaMp0ob3J8cN/NLu6rEWj7qf306yHz08FPhYfCTtDkTcytmRjAy//625aduiLn52XSGGma8QSzSGiCmx66OmTl/BpNg3ZdgYCttF5a5dk7va3qrOrZs6DMb4IXfi5Wu4fje/dCJheFsBwTLscLWsz/oldXTK0J5ddEwOHMFQ9DWqOpqhfMqqB77K0qy+9mKThBacyH5nai4tA0uObooyln3QU6bIJ8AcrDL/FcJQCHwWpt1wE/7yEgoe/AtPlDwVwGJ9BYRAe6P5Z/11Uzli1e0/DRmrYce1fOK6kqi1paXOAoQBPlH28q6hAKTSMhAbDBah9HO8oWgegwYS/9ntZMhZERHPEoQk9Qh2uZUepTA3s4HyyHejgmmdj3tgYatVKjEZOVUD9E9Kg1gOBNG8VFZDse2OP6Gi1MEQiF1jG4hpUTlpCU/+h8QDRSqQses58iICfNiWVeBJ+bVA9Yb9lpnr2DJY8ZqDH/KRj0uj/bhJp/n1+OCCG0Il77FJaH1T4pXmmSR+PCrDdBU1tawdQ4EFthZCCj8J7JbfNT79NCNFE6baKGVukMXdE4B/oapxTHpcm+EXkuenDSj0iQWey1PD/uBuOsjQj7f0bjFLBdiNCfVvqDuKERrgRAOL2ICeapCkUjwSk=