-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
50 lines (41 loc) · 1.32 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
language: java
jdk: openjdk8
sudo: required
dist: trusty
env:
global:
- TERM=dumb
# Encrypted env variable SYNCANY_API_KEY for upload
- secure: "izz/hYLwOJuC9eA1jirHpPnkMkkCdEDUgzht2VoQPcoYW0NLd9IJhvZzRHzHgcCgPjBF//ydT2NY0+AYShrgLURMoPNTPGcTxhae+DTLMkPuTPz+EyEEe1hvJMwumChFSvgKdZUZQYmF1aqLs9tWKCk6RHVPc6gWAk81MQwfDoc="
branches:
only:
- master
- develop
notifications:
email: false
irc: chat.freenode.net#syncany
before_install:
# Standard Stuff
- sudo apt-get update
- mkdir ~/.gradle 2> /dev/null || true
- echo "org.gradle.daemon=true" > ~/.gradle/gradle.properties
# Debian Build Tools
- sudo apt-get install -y -q dh-make devscripts debhelper bash-completion
- debuild --version
- perl -v
# Inno Setup (for Windows executable/installer)
# Note: If this code is changed, also update syncany/.travis.yml
- sudo dpkg --add-architecture i386
- sudo add-apt-repository --yes ppa:arx/release
- sudo apt-get update -d
- sudo apt-get install -y -q innoextract wine python-software-properties
- wine --version
- innoextract --version
- core/gradle/innosetup/innoinstall.sh
- sudo cp core/gradle/innosetup/iscc /usr/local/bin/iscc
- iscc /? 2> /dev/null | grep "Inno Setup Preprocessor"
install:
# Disable default travis behavior 'gradle assemble'
- ./gradlew -v
script:
- ./.travis.sh