forked from syncany/syncany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (57 loc) · 2.9 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: java
jdk: openjdk8
sudo: required
dist: trusty
env:
global:
# Terminal does not support colors (Gradle display issue)
- TERM=dumb
# Syncany API credentials (SYNCANY_API_KEY environment variable)
- secure: "LtfXTZ6czCL0GhGubTtb5NI/JCUTz5zrU7BkV1QO0PE1wmYB8KxH9kC0hVLzuaLAiSvOWoJVq2qtSh7NXk+ABRw4EKcKPwp+mcjIGmxrncjgdSbWB8zPC3QWrV3rLiaN2w9vJoB5iDU3RcSogSXfV68VeDxUdWgxamPXSrKTzp4="
# Syncany SonarQube credentials (SYNCANY_SONARQUBE_* environment variables)
- secure: "BDo4IO82sX64vRCxZx3voQ4HcbuTAfTiuNR3MsXlTrBhULAjLU8+EtD+RuXLqYSTEvpzIskiV2EWS4IRHsjYt5lAXl1/YrZsAU6v8UDNh9jkm6TVkxVlACTcEyBHU1SIxn14gXW405sxIAxPZ4YqVwVGNL41rauKXIj0jNp/5Q0="
- secure: "QOwOtpvsVqmzrtPslyc7AOE6adq8sFFmGp37KPb3dsHHkb4yESOslQLBPVE745dqcL5K/UX8JQCvv5qpXHBzXS06UMNjwxSM1zxiYEkHFF6BV56RyJBnVx09Wyco8jKUSUaZ6ErOROyhyq75cP6SBEVSUKFvtgR1xYYm4YJy+DY="
- secure: "LOwK8mGTVfOz9diX0eB1mhZgEV5yADnNuh2iK4clhjt6O3LxjDJ2KBaO3RTkfTqa4f9VMqVZxoL2af/JvTJnQfOOHiypZqKopS2v0cqlRh4xd8bPRygwOh4b0QkTWozt9WLJsavozxa/Fuj4XpQkL/iA346yrHjV+q2BDMzgprQ="
- secure: "KPZ/bsv+Wdbz61YJeZnO1wQ0yZ4No7VUZ9U61I7P908aAcblRgkpdmPopf59rhFWoRjc74rDb9b2mkPwoNzUvLA0S7GynyTCGh339jWoqVu3YM3jM3HPN4zarcbCTu5Ge4+xDDf8I/ghzsZHSJduqUMp3N0yytoG79tV4tSfhBA="
- secure: "d7/TQzfKg94GlYsuRvcf1tdI6F3JKKKf/QS7spDy4OWTFeUyj+K+stPWXw1BeZLK5YnYbe7tsdQdBpxl0Az+YZgZZMJ3B9hVMr1yo5N+QXo3/wvbrm+CWEjDPNCK3iVP63w9KAxOkcZ6+7eHl0zSpEoPZEX+6wMJH57cQk33kO0="
- secure: "Wu1VTR/AOjAZhcKJ4xkauhZWMzbu/lIW3j/sQScv1p4vPWK9Eu930c714+M2JUymPQQuJY0q2Lb8+sBOyJumM34SCyEvEq7Pq7Bu2evtobekRo7ICiDSqy98+hCMbI0rU7qaYOckhCVC/Oqe3OjO4tB33gauVF0L4bwpKPvVeks="
branches:
only:
- master
- develop
notifications:
email: false
irc: "chat.freenode.net#syncany"
before_install:
# Enable i386 for wine
- sudo dpkg --add-architecture i386
# Update APT (necessary!)
- sudo apt-get update
# Debian Build Tools
- sudo apt-get install -y -q dh-make devscripts debhelper bash-completion
- debuild --version
- perl -v
# curl (to upload the distributables and JavaDoc)
- sudo apt-get install -y -q curl
- curl --version
# Graphviz (for JavaDoc images; see Gradle tasks)
- sudo apt-get install -y -q graphviz
# Inno Setup (for Windows executable/installer)
# Note: If this code is changed, also update syncany-plugin-gui/.travis.yml
- sudo apt-get install -y -q innoextract wine python-software-properties
- wine --version
- innoextract --version
- ./gradle/innosetup/innoinstall.sh
- sudo cp gradle/innosetup/iscc /usr/local/bin/iscc
- iscc /? 2> /dev/null | grep "Inno Setup Preprocessor"
# Line of code tool (cloc)
- sudo apt-get install -y -q cloc
- cloc --version
# Speed up Gradle (enable daemon)
- mkdir ~/.gradle 2> /dev/null || true
- echo "org.gradle.daemon=true" > ~/.gradle/gradle.properties
install:
# Disable default travis behavior 'gradle assemble'
- ./gradlew -v
script:
- ./.travis.sh