forked from apache/servicecomb-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 2.08 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
## ---------------------------------------------------------------------------
## 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