blob: 3e277914c89b0b911f992e57b96cf77bd593ef9b [file] [log] [blame]
## ---------------------------------------------------------------------------
## Licensed to the Apache Software Foundation (ASF) 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.
## ---------------------------------------------------------------------------
sudo: required
addons:
sonarcloud:
organization: "apache"
token:
secure: "1Pp5GWvkXduqhSG0Kuy9pMO262od+D+MIRZ6NtkYDy9wPrU1A8cCB3eC9/i0Q29X+BuzOQ17oW1UgUhdIV2VSx2EwF6xpCT9KNhBqV/Y8dzvw9RD6dW/QHgbv4U9L4I5EriM3dWuWIl31yoD4LCwWPHkLIysLiiSqjSCceeANIGE/ErqfokZOuZ2ghmN5DwKLyS8U/28N9mBu3U6WC8DjIJzT4jS9Z6m4w5bd08RoxtQIA2XoeYsjoEbaZJXUwl7ktoZVXwyOwpGiMa8YcScVDEepd7+QlFtyNQ4PUg0TBriiSAl9K7UEpcYODBS6nbPIUk//geZvoBUA2QgrBgHQpEosYD81qJOdCP1+TPJbiYpGbgIzE4qR3CIotJJPDkv9mdPRfhRaubVkjBkXQWNhSXnWMQjeG1re+A8ZPL1dkBMHw06aMfS/kwPFzgq4QJ01x3DegdMKHt1s/B5vM+iqRbcrDOjcF7XS7S/TVanQ4IosmoLYOUtxUMrs0S8Weqbcn8V5KNbuxkugrSHIWiWwYv8DRot42sv9bZ8x+MM+R7Tp2dR1MsQwhA6pZOacUtz3vNFT4JbzynXfkEltrHEDnW4B2xPmuI/xiXWWBQ2jPl/0NROvsMY8cGamH9o6Y/4fL8NHiul4M3RMZ5TqENM91zQPvxFHQ7H6BM/OchVtqM="
# SonarCloud give a warning if using shallow clone (default), so we disable it
git:
depth: false
cache:
directories:
- "$HOME/.m2"
language: java
jdk:
- openjdk8
jobs:
include:
- stage: Test
script: ./scripts/test.sh
- stage: Cli Test
script: ./scripts/cliTest.sh
- stage: Deploy on
script: if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then bash ./scripts/deploy.sh; fi