This commit is contained in:
Kent Yao 2018-09-05 20:58:18 +08:00
parent b7f1e75f72
commit eedb9df58d

View File

@ -1,8 +1,31 @@
language: scala
scala:
- 2.11.8
cache:
directories:
- $HOME/.m2
- ./build
before_deploy:
- ./build/dist --tgz
deploy:
- provider: pages
skip_cleanup: 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
skip_cleanup: true
on:
tags: true
jobs:
include:
- stage: spark2.3-package-test
@ -15,24 +38,3 @@ jobs:
language: scala
script: ./build/mvn package -Pspark-2.1 -Dmaven.javadoc.skip=true -B -V
after_success: bash <(curl -s https://codecov.io/bash)
- stage: pages
language: scala
deploy:
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
email: yaooqinn@hotmail.com
name: Kent Yao
on:
branch: master
- stage: releases
language: scala
before_deploy: ./build/dist --tgz
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: kyuubi-*.tar.gz
skip_cleanup: true
on:
tags: true