-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (25 loc) · 1.01 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
language: java
virt: lxd
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: "mZBGcxRDLwWbHv7tIMok3rfZCvN6fFxi41FQtGC6iNjHVSCgqIhb1a8lwZ3H4JbCrzenDkjQMuIGNJdF5SRCwL+75iraRz6VnPFHRcqPUKYFquHcibJDMu0v9h5E8OXrR0+ucqJedpvlDtadj/bOZ98oNrLdwuMGVmY/vbgFO4c="
before_install:
- cat /etc/hosts # optionally check the content *before*
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
- cat /etc/hosts # optionally check the content *after*
addons:
coverity_scan:
project:
name: "mucaho/jnetrobust"
description: "Build submitted via Travis CI"
notification_email: mucaho@gmail.com
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true compile"
branch_pattern: coverity_scan
after_success:
- mvn clean cobertura:cobertura coveralls:report