This repository has been archived by the owner on Oct 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
49 lines (43 loc) · 2.34 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
44
45
46
47
48
49
#
#
# Copyright 2016 The Symphony Software Foundation
#
# Licensed to The Symphony Software Foundation (SSF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
language: java
install: true
script:
- "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" && $TRAVIS_BRANCH =~ dev ]]; then mvn clean deploy -Pcobertura -DtransitiveDependencies=true --settings settings.xml; fi"
- "if [[ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]]; then mvn clean install -Pcobertura; fi"
after_success:
- "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" && $TRAVIS_BRANCH =~ dev ]]; then mvn whitesource:update -Pwhitesource; fi"
- bash <(curl -s https://codecov.io/bash)
jdk:
- oraclejdk8
env:
global:
- secure: "uQMc/PSVFds6YE+Nh2l2PrikYSL1k+ovBQkds6KFYTj4gUoTLhgkMS2pDABiRSXH6YGSDYEso1S6ZFzQE62rtqC+1J45nyERoYWtsDgNos/k7FX4QUg0ooYlGDaZKqFE/UqYtkfnM096UZ+bWC8EDUN6ow9Jo/0pGtVeP7/0bbK507bWwJHjL7dqeE6hx67agRX4GDRv+OhuL6zd+wW46voM5Z991ZMbmTCJdrpnymSkxntdZ5JVNR2O7GUzkgyTDj07M0ciK0nIR5B/rgP87DiX/KWoSu7oAMVxYIcJzw6G6fh9grrqKX+n6KWrvZeNrgzc5gwZXcP3k/b8X+k1lXj0lcc1eKBFPtYTqlbbEgLkXLxj5IZrUc+BhRlnQT/mT7VLV7Nu4+D5h1MTFy5FUx3fcrKNi4ugT1XwKpstEGzikzzd2myVR4iOOPjdW6q8kFdbNxX71QhM3vCAIipMzyS59jPROv0KgJJtDUKdARr44M4x9zbi7ixvYQM169QW/egGpteQP1EFlkQQxLEDPLUzyurKJzZLliLoS19YH3iUe2DRZk2oEhLb9C69btieFsLkuw/x+vIijTosuXxadr8iMgKpQ1kXNoqIu9nG+sRKZhJJvX8VWRDiHFJLO2ZmW75AMaEn+mhn0pz5/xnbfIkFs4/BcwiK3+BROB54ABc="
addons:
coverity_scan:
project:
name: "symphonyoss/App-Integrations-Commons"
description: "Build submitted via Travis CI"
notification_email: "integrations-team@symphony.com"
build_command_prepend: "mvn clean"
build_command: "mvn -DsymphonySkipUnitTests=true install"
branch_pattern: "rc-current-*"