forked from claeis/ili2fme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 1.55 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
dist: bionic
before_install:
- sudo dpkg --add-architecture i386
language: java
addons:
apt:
update: true
packages:
- wine32
- wine-stable
- winetricks
jdk:
- openjdk8
branches:
only:
- master
- stable
install: true
script:
- winetricks --unattended dotnet40 dotnet_verifier
- (mkdir -p build/wix ; cd build/wix ; curl -SL "https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip" -o wix311-binaries.zip ; unzip wix311-binaries.zip; rm -f wix311-binaries.zip)
- if [ $TRAVIS_BRANCH == "stable" ]; then gradle -Dwix_candle=build/wix/candle.exe -Dwix_light=build/wix/light.exe '-Drelease=' build sourcesJar asciidoctorPdf ; fi
- if [ $TRAVIS_BRANCH != "stable" ]; then gradle -Dwix_candle=build/wix/candle.exe -Dwix_light=build/wix/light.exe build sourcesJar asciidoctorPdf ; fi
deploy:
- provider: script
skip_cleanup: true
script: ssh-keyscan -H ftp.interlis.ch >> ~/.ssh/known_hosts; gradle -Dwix_candle=build/wix/candle.exe -Dwix_light=build/wix/light.exe -Drepos_pwd=${repos_pwd} -Drepos_usr=jql_jars-INTE '-Drepos_url=ftp://ftp.interlis.ch' uploadArchives
on:
branch: master
- provider: script
skip_cleanup: true
script: ssh-keyscan -H ftp.interlis.ch >> ~/.ssh/known_hosts; gradle -Dwix_candle=build/wix/candle.exe -Dwix_light=build/wix/light.exe -Drepos_pwd=${repos_pwd} -Drepos_usr=jql_jars-INTE '-Drepos_url=ftp://ftp.interlis.ch' '-Drelease=' -Ddownloads_pwd=${downloads_pwd} -Ddownloads_usr=jql_downloads uploadArchives uploadBin
on:
branch: stable