forked from sw360/sw360portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (38 loc) · 1.21 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
# -----------------------------------------------------------------------------
# Copyright Siemens AG, 2016.
# Copyright Bosch Software Innovations GmbH, 2017.
# Part of the SW360 Portal Project.
#
# All rights reserved. This configuration file is provided to you under the
# terms and conditions of the Eclipse Distribution License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/org/documents/edl-v10.php
#
# initial author: [email protected]
# -----------------------------------------------------------------------------
sudo: required
dist: trusty
language: java
jdk: openjdk8
cache:
apt: true
directories:
- $HOME/.m2
- /tmp/
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y couchdb
- sudo ./scripts/install-thrift.sh --no-cleanup
- sudo service couchdb restart
install: mvn dependency:resolve || true
env: MVN_ARGS="package"
script: mvn --fail-at-end $MVN_ARGS
matrix:
include:
- env: MVN_ARGS="package"
- env: MVN_ARGS="validate"
before_install:
- env: MVN_ARGS="dependency:analyze -DfailOnWarning"
install: mvn package -DskipTests
allow_failures:
- env: MVN_ARGS="dependency:analyze -DfailOnWarning"