This repository has been archived by the owner on Nov 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 210
/
.travis.yml
40 lines (35 loc) · 1.45 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
os: linux
dist: bionic
language: java
jdk: openjdk14
before_install:
- "sudo apt-get -y install bsdtar"
install: true
before_cache:
- "rm -f $HOME/.gradle/caches/modules-2/modules-2.lock"
- "rm -rf $HOME/.gradle/caches/*/plugin-resolution/"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
script:
- "./gradlew build"
before_deploy:
- "bash ./scripts/jdk_setup.sh"
- "./gradlew -Plinux runtimeZip"
- "./gradlew clean"
- "./gradlew -Pmacos runtimeZip"
- "bash ./scripts/macos_release.sh"
- "./gradlew clean"
- "./gradlew -Pwindows createExe"
- "bash ./scripts/windows_release.sh"
deploy:
provider: releases
edge: true
token:
secure: YiK8EJNe3pSbw9FR3vOJSXkuU/jj3iKkGFKWqNkUTaMve+UD8GctkHgKXSyO10AD2ukBqcLk5ZSxUKbxv0uz1tuBkkHaQxTbMghcql2KhiZdfP5PCx6Sw08q28ahA2MpzPFM15kvcrkZ6brN9YkYy+1PyK8bdLKIXJXpnNE6ogjfe6h8snywhf8y844nLA3d//D0KkdGW09PxsI2gIL3MvqbNPqHjm1UXssuJYUaOUA9hcC01+mdz+AhgHs1hFKLXJ1haDHL19V+dfmDvoyUEK/FtNkBaT+ZXkXanA7i3FSVurOU+F4962JIlL1O5G/WRWmFk4LsFcEULKc0z4Wt2JA/a+kSJbn3xV/JNthDd/8xqUGfRgJ+iNg6InrO0lGXkyxIUic7O1f8kG7OwlV6NAguZ6zfmX8DdAp+4WLL21JDjLvlb2HK9BXBVTGTY2wbFy7vEbepPQK8hcrYzCtep/vKVe7hG2vgv5CUtYd1+TXFIEHg/YFlwhSenbokAzInWzL5Ty7q3p406Atm31WugtdubL/WH4R+RU20lVueHxRNg3Nf5Grs481q9HOGT41nE3xflRmbGZwCmkGr+Nji7oUlS2LddFmFQFa7EMavB5yywrnUIDbXnHZnjCXfeJdwtFGSdgk2JJ5FHhlW328H2hdLVr8shohIIlGvcvPyd1w=
file_glob: true
file: releases/*
on:
repo: blaisewang/img2latex-mathpix
tags: true