-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (37 loc) · 1.03 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
language: java
jdk: openjdk7
env:
global:
- TERM=dumb
# Encrypted env variable SYNCANY_API_KEY for upload
- secure: "epC6aRK+Q+PucJJbMxKfu4YqKhTeilPLiO0g8e8LrKjFReV5g8/y5WWsuBShkMFpqqWQTeLmSvh4Ev1g8p+eKZ22a113+VKD3mWql11wnqAGT2uRyyAuj4kZTfTLbT1nlgXtego7/HA867lIYt9XVkovhEQFxZ+5RwN9Yci7K38="
branches:
only:
- master
- develop
notifications:
email: false
irc: chat.freenode.net#syncany
before_install:
# Standard Stuff
- sudo apt-get update
- sudo apt-get install -y -q lftp
- lftp -v
- 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