-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
39 lines (36 loc) · 1.14 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
language: java
jdk:
- oraclejdk9
dist: trusty
git:
depth: 42000
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
- unzip -P $SIGNITURE_PASSWORD signiture.zip
before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -extension RANDR -screen 0 1280x1024x16"
- chmod +x gradlew
addons:
apt:
packages:
- oracle-java8-installer
coverity_scan:
project:
name: "fujaba/SDMLib"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "gradle clean"
build_command: "gradle -xTest -xJavadoc"
branch_pattern: coverity_scan
after_success:
- ./gradlew version build uploadArchives