From 0b4386a7aa5ef4226f5cf55218e9f2afcd2bd710 Mon Sep 17 00:00:00 2001 From: BetaGrey <53992541+BetaGrey@users.noreply.github.com> Date: Tue, 13 Aug 2019 16:42:40 +0800 Subject: [PATCH 1/5] Add files via upload --- .tavis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .tavis.yml diff --git a/.tavis.yml b/.tavis.yml new file mode 100644 index 0000000..3946908 --- /dev/null +++ b/.tavis.yml @@ -0,0 +1,35 @@ +# test ci +branches: + only: + - master + - featureA + +language: java +jdk: + - oraclejdk8 + +env: + CATALINA_BASE=/home/travis + +sudo: false +install: true + +script: +- mvn install +- mvn cobertura:cobertura + +after_success: + - bash <(curl -s https://codecov.io/bash) + +before_deploy: + - git config --local user.name "BetaGrey" + - git config --local user.email "pku_gewei@163.com" + - git tag "$(date +''%Y%m%d%H%M%S)-$(git log --format=%h -l)" + +deploy: + provider: releases + api_key: $github_oauth_token + file: /home/travis/.m2/repository/com/fc/hahu/1.3/hahu-1.3.war + skip_cleanup: true + on: + branch: feature_release \ No newline at end of file From b9c688c9b313e9ff3c426ba10a2d587f21893563 Mon Sep 17 00:00:00 2001 From: BetaGrey <53992541+BetaGrey@users.noreply.github.com> Date: Tue, 13 Aug 2019 16:52:38 +0800 Subject: [PATCH 2/5] Delete .tavis.yml --- .tavis.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .tavis.yml diff --git a/.tavis.yml b/.tavis.yml deleted file mode 100644 index 3946908..0000000 --- a/.tavis.yml +++ /dev/null @@ -1,35 +0,0 @@ -# test ci -branches: - only: - - master - - featureA - -language: java -jdk: - - oraclejdk8 - -env: - CATALINA_BASE=/home/travis - -sudo: false -install: true - -script: -- mvn install -- mvn cobertura:cobertura - -after_success: - - bash <(curl -s https://codecov.io/bash) - -before_deploy: - - git config --local user.name "BetaGrey" - - git config --local user.email "pku_gewei@163.com" - - git tag "$(date +''%Y%m%d%H%M%S)-$(git log --format=%h -l)" - -deploy: - provider: releases - api_key: $github_oauth_token - file: /home/travis/.m2/repository/com/fc/hahu/1.3/hahu-1.3.war - skip_cleanup: true - on: - branch: feature_release \ No newline at end of file From bab941270cf10445832de0d342cec7de634b2a15 Mon Sep 17 00:00:00 2001 From: BetaGrey <53992541+BetaGrey@users.noreply.github.com> Date: Tue, 13 Aug 2019 16:59:11 +0800 Subject: [PATCH 3/5] Add files via upload --- .tavis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .tavis.yml diff --git a/.tavis.yml b/.tavis.yml new file mode 100644 index 0000000..3946908 --- /dev/null +++ b/.tavis.yml @@ -0,0 +1,35 @@ +# test ci +branches: + only: + - master + - featureA + +language: java +jdk: + - oraclejdk8 + +env: + CATALINA_BASE=/home/travis + +sudo: false +install: true + +script: +- mvn install +- mvn cobertura:cobertura + +after_success: + - bash <(curl -s https://codecov.io/bash) + +before_deploy: + - git config --local user.name "BetaGrey" + - git config --local user.email "pku_gewei@163.com" + - git tag "$(date +''%Y%m%d%H%M%S)-$(git log --format=%h -l)" + +deploy: + provider: releases + api_key: $github_oauth_token + file: /home/travis/.m2/repository/com/fc/hahu/1.3/hahu-1.3.war + skip_cleanup: true + on: + branch: feature_release \ No newline at end of file From ea2e0840ed9833fa147bdf5931dcbcf2be67e28c Mon Sep 17 00:00:00 2001 From: BetaGrey <53992541+BetaGrey@users.noreply.github.com> Date: Tue, 13 Aug 2019 17:00:26 +0800 Subject: [PATCH 4/5] Update .tavis.yml --- .tavis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tavis.yml b/.tavis.yml index 3946908..cc36e85 100644 --- a/.tavis.yml +++ b/.tavis.yml @@ -32,4 +32,4 @@ deploy: file: /home/travis/.m2/repository/com/fc/hahu/1.3/hahu-1.3.war skip_cleanup: true on: - branch: feature_release \ No newline at end of file + branch: master From cddbe1d2ab4e22d0b5f49d0c4c8992d507511a4f Mon Sep 17 00:00:00 2001 From: BetaGrey <53992541+BetaGrey@users.noreply.github.com> Date: Tue, 13 Aug 2019 17:08:17 +0800 Subject: [PATCH 5/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4c9c289..1bd2eeb 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,5 @@ ![image.png](https://upload-images.jianshu.io/upload_images/1754553-dc817abefabc0f74.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![image.png](https://upload-images.jianshu.io/upload_images/1754553-3aa1db011a58ac67.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) + +FInal