-
Notifications
You must be signed in to change notification settings - Fork 62
/
.travis.yml
36 lines (28 loc) · 1.13 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
language: java
dist: xenial
sudo: false
jdk:
- openjdk8
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "xi036bV33rqcUZI28oOdlkafNaeIcyyNE4bxStbJBuI5Uxtz0Ks0oOJj8uU2WgjRN3IyxUJW+Jgev2CXfk0SlL5NJGKi0QLpVeIEEKgQDJXvyNwRFORclRKNQHRaRuOYeklsZD0pODBwYvIvF80xiQKMoeZ2r15GhNwKdtngi5o="
addons:
coverity_scan:
project:
name: "senbox-org/snap-engine"
description: "Build submitted via Travis CI"
notification_email: stb-coverity@thor.si.c-s.fr
# build_command_prepend: "mvn clean"
build_command: "mvn clean -DskipTests=true compile"
branch_pattern: coverity_scan
before_install:
# Work around discontinued nexus.codehaus.org (see https://github.com/travis-ci/travis-ci/issues/4629)
# For building, everything is available in nexus.senbox.net, which is stored in pom.xml,
# so we just completely remove the default repositories settings
- sed -i -n '/<repositories>/{p; :a; N; /<\/repositories>/!ba; s/.*\n//}; p' ~/.m2/settings.xml
install:
- true
script:
- mvn clean install -B -V