forked from senbox-org/microwave-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.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: "Urdp3wHfJdggrwxUVYC3/5DjPUMt83h/KDZBHg1tY2NFtZv+3/z1jX627o0ZMPC8rT553YOa75dtgJdF03BtBYbepsPGDqaWzOqcH177yi+BfBOoXnCRsDBm79+qhuXVpXUbAI+MPPd/iRVUhNnlHK55eZ9ovfv07Lj0AqYY4o0="
addons:
coverity_scan:
project:
name: "senbox-org/s1tbx"
description: "Build submitted via Travis CI"
notification_email: stb-coverity@thor.si.c-s.fr
# build_command_prepend: "mvn clean"
build_command: "mvn -X -DskipTests=true clean 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