kyuubi/.travis.yml
2020-10-27 10:41:48 +08:00

70 lines
1.9 KiB
YAML

#
# 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
dist: xenial
language: scala
scala:
- 2.12.10
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
- ./build
deploy:
- provider: pages
cleanup: false
keep_history: true
github_token: $GITHUB_TOKEN
email: yaooqinn@hotmail.com
name: Kent Yao
on:
branch: master
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: kyuubi-*.tar.gz
cleanup: false
on:
tags: true
install:
- build/mvn --version
- build/mvn clean
#jobs:
# include:
# - stage: spark3.0.0
# script:
# - build/mvn --no-transfer-progress clean verify -pl :kyuubi-common,:kyuubi-ha,:kyuubi-main,:kyuubi-spark-sql-engine,:kyuubi-codecov,:kyuubi-download,:kyuubi-assembly -Dmaven.javadoc.skip=true -B -V
script:
- build/mvn clean verify -pl '!:kyuubi-server,!:kyuubi-thrift' -Dmaven.javadoc.skip=true -B -V
after_script:
- rm -r $HOME/.m2/repository/org/apache/kyuubi
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- for log in `find * -name "unit-tests.log"`; do echo "=========$log========="; cat $log; done