-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
47 lines (46 loc) · 1.95 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
dist: bionic
sudo: required
language: java
jdk: openjdk11
git:
depth: false
before_install:
- sudo apt-get -y install libpng16-16 libwebkit2gtk-4.0-37 zlib1g-dev libc6-dev libstdc++6
- sudo apt-get -y install python3-pip python-dev
- sudo apt-get -y install wget
- DEBIAN_FRONTEND=noninteractive sudo apt-get -y install xorg xserver-xorg-video-dummy
- sudo -H pip3 install -U setuptools
- sudo -H pip3 install -U wheel
- python3 -V
- pip3 -V
install:
- pip3 install gdown
- pip3 install mbpkg
before_script:
- export VERSION=0.13.1
- export GIT_TAG=v$VERSION-rc.$TRAVIS_BUILD_NUMBER
script:
- "./travis.sh"
branches:
except:
- /^v[0-9]*/
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- git tag $GIT_TAG -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
- git push -q https://${GH_TOKEN}@github.com/gcaufield/TogglIQ --tags
deploy:
provider: releases
api_key:
secure: mkslwcib1t4znCWRxM6rUrkgN6UEP+n62jTH6vcjBHoTP3sXzTA2sdn13OYMxhC2IesNoDbQt45guQ0a/pdQLuIlU5W5jqAN8r5udQhFNegYVU6MgMWTMhSzi3ETBIblyOVyEKcSvguHhrhRTJRYtOvOQ1tsji3vuL4FMtScr4WDBbGjoAkavrIX9cPOhsFZ+O+xnXv/gFJN3TbMloCACT0ziFz1E4ekH/PwiIWVPVNPL90W7SUeOZX1jjRNXfwup0iT/Ud0xHYmy16SziNavGSi7JPRKBJoX6tzxPD/y+fsBvJ704YHnV/CM7UnW5tboJWB6VdBxEg9YTpDABs4+vOaj9K0sTzsbkUL+3K6i1AcX/yD/uGDrh/QKcgmRAIDv7k8m1TOnHsmiG1hJ70PYRrPo9ghjbUHg7632uqjH6KEsY7V0cNWTbixLGOviL+A38Zrz7hiB29JU6pEpf4TcC49X73QZYYPopKyESF2KwsbJ54OflGGxscoWI6+oUhTppuyvEZT3FWiF6OWtlMRO9Pc5tWem8R9urfjcAYRfngOL4TZU/Twl6qE1fav6ffzI71D+kYV1Sa8y5rKQR7LSVo0w0l2FDlP/pRgvgZVMn2DlINKV26BVZOWZLCyVRzaa+ARzYw1IifsCIG9X/+PWou+ZtnhJEyKXajUG6kr3Eg=
on:
tags: false
branch: main
skip_cleanup: 'true'
draft: false
prerelease: true
file_glob: true
file: bin/*.iq
after_deploy:
- npm install -g github-release-notes
- gren release -P --token ${GH_TOKEN} --tags=$(git describe --abbrev=0 --tags)..$(git describe --abbrev=0 --tags --exclude=*-rc*) --override