76 lines
2.1 KiB
YAML
76 lines
2.1 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: bionic
|
|
language: scala
|
|
scala:
|
|
- 2.12.10
|
|
jdk:
|
|
- openjdk8
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
|
|
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
|
|
|
|
before_script:
|
|
- build/mvn help:evaluate -Dexpression=project.version
|
|
- build/mvn help:evaluate -Dexpression=java.version
|
|
- build/mvn help:evaluate -Dexpression=scala.binary.version
|
|
- build/mvn help:evaluate -Dexpression=hadoop.version
|
|
- build/mvn help:evaluate -Dexpression=hive.version
|
|
|
|
#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 install -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
|