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 9
/
.travis.yml
58 lines (52 loc) · 3.33 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
50
51
52
53
54
55
56
57
58
#
#
# 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.
#
#before_script: "if [[ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]]; then curl -s https://raw.githubusercontent.com/symphonyoss/contrib-toolbox/master/scripts/download-files.sh | bash ; fi"
language: java
install: true
script:
# Build for PRs
- "if [[ \"$TRAVIS_PULL_REQUEST\" != \"false\" ]]; then mvn clean install && true ; fi"
# Build for master branch
- "if [[ $TRAVIS_BRANCH =~ master && \"$TRAVIS_PULL_REQUEST\" = \"false\" ]]; then mvn clean deploy -Pversioneye,sonar,whitesource --settings settings.xml ; fi"
jdk:
- oraclejdk8
notifications:
email:
recipients:
env:
global:
#Required env for integration testing
# Need to "gem install travis" first
# Generated using command "travis encrypt COVERITY_SCAN_TOKEN=blah"
- secure: "aaTDaHAcwcPyzkXwUbY0eNwotoNtuV5BUSmaymYB8NK8n7bUfUKOIAr0LSx5ra9JHks99EAIF3UaEnk7Nr3NrCzXvGqOxFxGd9MqDpE4JdISfVdUn1S6E9PtDOcKs/RtxFjeZj1jYn3weFOyjtdDVep0H0bifKM6yQbdXY5pzFpdLEb0gTK9n4due16MLhB62Pw69PDdqSp3R/np+TAWQcLRucJts6JqMIyjJl4ydwymEJNupoKOgA+lg4K2c+xS/4/I4rF/M0VCcn9Ocq3WgsYuW48fyq16ZiMZRhw4IDMxYUFjpLNUj15v6ICkfLEof7DJ1OnnBRUdGCJ56D+ghleSGX0CT97UfbhXbLKxna4+zlktdF3Oe2ReD0yLiHwDzilxAmSO9he5mHkJh9p1KfmmFGaVO9lfptRO0B/OwcgmMkWdri3LMFls6gQ22OOzueb+jaP63QHZL6kMQt5a69G8P7UPvrhSnUvGOIE1i+niyJAXcjouluObTMTL+I2Tzs7wb3UKJj4BCuxWS2gy85leZXAOHvIruSXAqbIbB1k13kqMeg8bq/jU+KtjePsmDhfUx8A4TEj+zdW9a1Hc2ZK6+hGNSRv3W62RylNG6g2P55bP5aYll/euIWiEnmsO9dT5Ja7qLMsaOKgJ5vqvIzjwmI6MVu8WE56+gNJyivc="
# Generated using command "travis encrypt VERSIONEYE_API_KEY=blah"
- secure: "PU2o0PU+oSfuw6BaluMno6uSXgf57Sgd4eimAQ15/1cSAePSWIS2Jpjr3in9tG0kAwhrGhWlZR/nI0o2oo6YEpjsYv3DTaW/AcAnC8AIAQeeDd/5YdZYWxX76ORORF6YuOGcNb7Cz0DkzQosWiRJFHt9/rUGKB9/uaIfh82H8WlfhfxH4BhB9659+XIDV0zF/jTSME2L8Sa/kPb2DuycCviqjS9CMWhCDCz8l7OZpPypvxt3Onk1e14UOpQ50W5+GLpRWiaILei2JuZaxYNs7Ut44MbYZZzkTYUHwFfSdQpK+8u6xbCOkOt/mJ3gASantIJKdWZ97dtwKzgJGKqjDjSvShL5kxj+I4nAe1rtaUv/eUz9/qAp7W6FWfAGVWO6TEqqpn3WAyy7LOYQrlYLgrumfgfZv2o3T+8oaiLJnHDmnVepboeL77aaTzAQskkUXUeFFGwFEn06veqgcP3oGfLuF1+yOIJApm5el4lkztwzu5iyCO9gQLYw9mVmAPq5grctpxpKGNfGuBEDp7oaWoZh3je5/FsT9mYbCkQiehHxuvEFSWMNUxHz+nSwrx1YY5pjvIRHb5+hIivWMAax7lxxDxSi26btlPJt9+xYo5bOxo0Ou6CaVVLbPsNwHhdmdU9NFP41Ov8lX1qRPcybxHO2Mv8QiCcPhEyoHe1x9y8="
addons:
coverity_scan:
project:
name: "symphonyoss/symphony-java-api"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "mvn clean"
build_command: "mvn -DskipTests=true install"
branch_pattern: master