-
Notifications
You must be signed in to change notification settings - Fork 3
/
.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: "F39pdPtlbTn2sv9ODYh7VsWgweVmCrGS5Ai2/UQMp27QzdFc5M9hEcKx916dwJ7liMUY6qNpE0tfppmrm86e6wngGdNAM6L7KwTP+Ew45nTd6QLwlbxDYf3e2U0SbtsuE9PA3wiD1/5Bb1Q3LYze2RX6b19U7az8a3mvo/Fy/Yk="
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