This repository has been archived by the owner on Jan 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
65 lines (58 loc) · 3.23 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
59
60
61
62
63
64
65
#
#
# 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.
#
# Download developer certificates to run integration testing (EchoBotIT)
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:
- "if [[ $TRAVIS_PULL_REQUEST -eq 'false' && $TRAVIS_BRANCH =~ master ]]; then mvn clean deploy -Ptravis,integration-testing,whitesource,publish-site --settings settings.xml ; fi"
- "if [[ $TRAVIS_PULL_REQUEST -eq 'false' && $TRAVIS_BRANCH =~ develop ]]; then mvn clean deploy -Ptravis,integration-testing,whitesource --settings settings.xml ; fi"
- "if [[ $TRAVIS_PULL_REQUEST -ne 'false' ]]; then mvn clean install ; fi"
jdk:
- oraclejdk8
env:
global:
# Need to "gem install travis" first
# Generated using command "travis encrypt COVERITY_SCAN_TOKEN="
- secure: "TowBNPUOs/0hWq4myoZ/l99r3wjuwHdUhXFFm8YJ44eWQLojKXNKYIX6+L0byTGGEXjNS01HNb2hnMqNHZOJpe/ZtLu4k4NOIiPV/wfRfKC+kW3fftBEZEIAKoamqxF7gy7o4nz6zroPqKNq+y3Ug7qUCp2gcgGyLiQVB7o79l402QWtaxuUSyulJUc/cYR9bz/r810oSebGnrjM6KtKhdeQLNSQjwdw2+sztgehOkDO/Yc4Y5dMEgT4qo7wqPgp0Ti0riqivf5MGMnbhGTS2hJf8dmUMODrXh7q7nW2ThfPquE9ffBxHxW+zhXmnEr0UhTo6nEAveLVqPN1LD9la1m1dI4bIEKlMntCvpYTOsYjQl9MN+z1TYMU3EeZo4DBLyQ0SGRISSecNMAn21OMTY7t8hVAYeIJR4Y4P8b6vWElU3H3+29JOIXOraUqPiGDRhq9rnXDISHvQV7QIWV2uiwYkTCQgBSzgzIdWl3jVkfDnB3s6KrnVPyS1zEpj99EtNmEfHnEY3LSlKyd2W8P07djYftyQVVU3JQ//y4jbbh1mExlEU0d1Ja1LMOylOFHZ5adW64TNVi8CuxaQ9W0mqRDGOcWX1JfFk/MgJP48EndT0wI82d+BcBXPuYaC8DHUMAp//KwBeMxoUefvnm5q8XspEP8OIBoxXseRsBzFpg="
# Basic Foundation Dev Pod endpoints (used below)
- FOUNDATION_API_URL=https://foundation-dev-api.symphony.com
- FOUNDATION_POD_URL=https://foundation-dev.symphony.com
- SESSIONAUTH_URL=$FOUNDATION_API_URL/sessionauth
- KEYAUTH_URL=$FOUNDATION_API_URL/keyauth
- POD_URL=$FOUNDATION_POD_URL/pod
- AGENT_URL=$FOUNDATION_POD_URL/agent
# Used by RssBot
- RSS_URL=https://twitrss.me/twitter_user_to_rss/?user=symphonyoss
- RSS_LIMIT=3
notifications:
webhooks: https://app.fossa.io/hooks/travisci
# Coverity scan - currently disabled to avoid hitting API rate limits
# addons:
# coverity_scan:
# project:
# name: "symphonyoss/symphony-java-sample-bots"
# description: "Build submitted via Travis CI"
# notification_email: maoo@symphony.foundation
# build_command_prepend: "mvn clean"
# build_command: "mvn package"
# branch_pattern: master