arthas/.travis.yml

66 lines
2.1 KiB
YAML
Raw Normal View History

language: java
sudo: false
2019-07-15 16:46:12 +08:00
matrix:
include:
# Target option 6 is no longer supported. Use 7 or later.
# - env:
# - ZULUJDK=12
- env:
- ZULUJDK=11
- env:
- ZULUJDK=10
- env:
- ZULUJDK=9
- env:
- ZULUJDK=8
- env:
- ZULUJDK=7
# TLS error
# - env:
# - ZULUJDK=6
before_install:
2019-08-20 15:08:40 +08:00
# installing the rpm package
- sudo apt-get update -qq
- sudo apt-get install -qq rpm
2019-07-15 16:46:12 +08:00
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
- "[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/"
- curl -sL https://get.sdkman.io | bash
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config
- source "$HOME/.sdkman/bin/sdkman-init.sh"
install:
- sdk install java $(sdk list java | grep -o "$ZULUJDK\.[0-9\.]*-zulu" | head -1)
- unset JAVA_HOME
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.m2/wrapper"
script:
2019-04-19 16:44:54 +08:00
- ./mvnw -version
2019-04-19 19:23:28 +08:00
- ./mvnw clean package -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.linux-x86_64
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false
deploy:
provider: releases
api_key:
- secure: "V+omzrcAJ/awN3EsDkiELejjInz/rpgPLdyb4uZrcQnqhagbHYE+nY2KcjPEtRBVNkqlh6dxIIsUFvKrs5kxe5EVvI6rLQeZLFMqWUeNfWuhbuQWCV9ZPyQiqXCqNicj+LLHArzQRLx5w5YBvxdzMuXSWo1ZE4wy+c3koprulUSjr6XhNPKyyasq4EXKMXuLCjcvBVPHhXviG59Jbshb2lRHbkxMqYeLhWi/gUOBRbNC1CmcGGAMviFX7HpBOx5fMaVKPR7rzcULw3lXnLhdSwhXJ6ybnsN/osfN8zAx6XZIwvwvVQ12yM8S9eVthnjblFh+WKwOT1AS6hHFXkMTjh1FE5CtUVu+sFbGIngJ4C4O78VzWCKvH/IrIi4p2IkF+fcu8USnm7YZGuyoAwe3O5PqmWBuQV0iCEx0IGo/nPwVzj1+jnz38Go/DP1aVDJZMenysBNxi4l45d3J3CgMPvF00DDQKvxYrkBjdnByANrOisZPjIeUOc7GsWoDLCK9jZtXMID2NM+ehQnDbOJ3BS2Bjg7ojPc0Rw2yJjbzwNqaMiOPXp2ym/5DpaB/l5k2gSi2NCRUFCXhFNRCq9ChFXv+pYJwk0e17sleGvo6tnFDVCR6lFcXrYo/vGC43bL1dT4rY8E6VSRlE0jfoXdFFp4jw3v3a+DqVLGVC9UcTpw="
file_glob: true
2019-07-30 17:16:31 +08:00
file:
- "packaging/target/*.zip"
- "packaging/target/*.deb"
2019-08-20 15:13:16 +08:00
- "packaging/target/*.rpm"
2019-08-30 17:54:04 +08:00
- "tunnel-server/target/*.jar"
skip_cleanup: true
on:
tags: true