-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (63 loc) · 2.42 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
language: python
branches:
only:
- master
jobs:
- name: Linux Build of webtoondl.py
python: 3.6
install:
- pip3 install --upgrade pip
- pip3 install -r requirements.txt
before_deploy:
- pyinstaller -F webtoondl.py
- mv ./dist/webtoondl ./webtoondl-$OS.exe
- git config --local user.name "Travis-CI-HSF"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h
-1)-$OS}
- git tag $TRAVIS_TAG
env:
- OS=LINUX
- name: Mac OS X build of webtoondl.py
os: osx
osx_image: xcode11.2
language: shell
install:
- pip3 install --upgrade pip
- pip3 install -r requirements.txt
before_deploy:
- pyinstaller -F webtoondl.py
- mv ./dist/webtoondl ./webtoondl-$OS.exe
- git config --local user.name "Travis-CI-HSF"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h
-1)-$OS}
- git tag $TRAVIS_TAG
env:
- OS=OSX
- name: Windows build of webtoondl.py
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
install:
- C:/Python38/Scripts/pip.exe install -r requirements.txt
before_deploy:
- pyinstaller -F webtoondl.py
- mv ./dist/webtoondl.exe ./webtoondl-$OS.exe
- git config --local user.name "Travis-CI-HSF"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h
-1)-$OS}
- git tag $TRAVIS_TAG
env:
- OS=WIN
- PATH=/c/Python38:/c/Python38/Scripts:$PATH
script:
- python3 webtoondl.py 1022 -El || python webtoondl.py 1022 -El
deploy:
provider: releases
file: webtoondl-$OS.exe
api_key:
secure: "MkhrzHPA4dQEvsxLytuW5EbrAlB1/3xtcagaUUrYAuN7DEGb+gCzFmgeRdfvv4YpXvxXZvXI5SfJkAN+BplnE4ihPw78dgNScgJmWZ8ZLKuDKx0UPwdeJAwgo5ADuNyj+zSFZnMP+ixpN16NMDAVl45MzVP3NAt5rQRl66J4aiUgXE1WP3OR/ndpUNXE6KU0OfvWIRldnVJ9tcqgk3d/lTqol/ynYjEDT07JCZwPoZsWP4QdZqKR/JRbGDU0hP5KEdBTX1ZaDS9pw4PKdzZ8rCk7Qzmsbqaez+fT5xkGoGpN5ZbHceBt0AdQOhHrko+nCkL0PtVi+vQci0KD/+cv8KclSNDxnunuJ5ylp318J/EJdp6zZ2hocmrV5cTu3mO7zR9JIBdxYoJbp2Ap4QzXsVuGsYeCcddEkl5+M2LDzrs/ei9MYrbyUyy3WkgMKfV34ao8aRvc9MvRQ1fu/rNHeW8bXJXeP+2E5lqlrR9DAcfSEqVUWO7qZdZZb41sImYArBb/ihtzTevXw5J6HBpZyPZncyHN599NmnmTTvdPYECpwZ2jSt+2YE6GIQbRoXd8AOipeIkPpYKcuu1mtsMHdOWhzh4+7W/aKMi9E49gs8efEANNf7M9Qo6a8IrAF58+Bt3YcPs1BarBLo2RSnQSPtluZN7QKQinMdrKITh3+fQ="
skip_cleanup: true