-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (35 loc) · 1009 Bytes
/
.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
language: java
jdk: openjdk7
env:
global:
- TERM=dumb
# Encrypted env variable SYNCANY_API_KEY for upload
- secure: "IDonwOF468MDX146RLw5zUlrv8NjOWx57vkv1K9DwsNw28i1NTGWvGK6jnfWs4nVUyWWVsd3Hmu6KklBb17e+JYAKTs9WkTMBqaqKTpmvmvNaX2+QyfeLbgPx0S/xWMgkza9BUmWcHpIhiyPeEkqsvU+Ua7QGW0uNbuA2K9qVsY="
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 Packaging
- sudo apt-get install -y -q dh-make devscripts debhelper bash-completion
- gpg --version
- debuild --version
- perl -v
install:
# Disable default travis behavior 'gradle assemble'
- ./gradlew -v
script:
# Be safe and clean!
- ./gradlew clean
# Build JAR and Debian DEB
- ./gradlew pluginJar
- ./gradlew pluginDebianDeb
# Upload JARs and DEBs
- core/gradle/upload/upload-plugin.sh