build: setup bintray unstable upload
This commit is contained in:
+21
-2
@@ -2,15 +2,34 @@ language: java
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
env:
|
||||
- TERM=dumb
|
||||
|
||||
before_install:
|
||||
- chmod +x gradlew
|
||||
|
||||
script:
|
||||
- TERM=dumb ./gradlew clean build dist
|
||||
- sed -i " 1 s/.*/&-b$TRAVIS_BUILD_NUMBER-$(git rev-parse --short HEAD)/" version
|
||||
- cat version
|
||||
- sed -i "s/BUILD_VERSION/$(head -c -1 version)/g" bintray.json
|
||||
- ./gradlew clean build
|
||||
|
||||
after_success:
|
||||
- TERM=dumb ./gradlew jacocoTestReport
|
||||
- ./gradlew clean build jacocoTestReport
|
||||
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
|
||||
- ./gradlew clean sonarqube -Dsonar.host.url=$SONAR_HOST -Dsonar.organization=$SONAR_ORG -Dsonar.login=$SONAR_TOKEN
|
||||
- ./gradlew clean dist
|
||||
|
||||
deploy:
|
||||
provider: bintray
|
||||
file: bintray.json
|
||||
user: skylot
|
||||
key:
|
||||
secure: bBzfhraRwT5w+FkAcQnWJQgt4i894k595g4gNFf8dGpBsvPUvGzoa/SUaokrmlj5UCFc12k7j6aZswNITGjBuAf2fDVRwMQCH9ORiqIcJWuemQPHB7iAQjITGXKwef6zWKcZSkVuMtUMmGymYSsqpya+pSqwdP5rLbWPgGixEaQ=
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: false
|
||||
|
||||
sudo: false
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
## JADX
|
||||
|
||||
[](https://travis-ci.org/skylot/jadx)
|
||||
[](https://gitlab.com/skylot/jadx/builds)
|
||||
[](https://gitlab.com/skylot/jadx/builds)
|
||||
[](https://codecov.io/gh/skylot/jadx)
|
||||
[](https://scan.coverity.com/projects/2166)
|
||||
[](https://sonarcloud.io/dashboard?id=jadx)
|
||||
@@ -18,8 +16,9 @@ Command line and GUI tools for produce Java source code from Android Dex and Apk
|
||||
|
||||
|
||||
### Downloads
|
||||
- [unstable](https://gitlab.com/skylot/jadx/builds/artifacts/master/browse/build?job=build)
|
||||
- [unstable](https://bintray.com/skylot/jadx/unstable#files)
|
||||
- from [github](https://github.com/skylot/jadx/releases)
|
||||
- from [bintray](https://bintray.com/skylot/jadx/releases#files)
|
||||
- from [sourceforge](http://sourceforge.net/projects/jadx/files/)
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"package": {
|
||||
"name": "unstable",
|
||||
"repo": "jadx",
|
||||
"subject": "skylot",
|
||||
"desc": "Unstable",
|
||||
"website_url": "https://github.com/skylot/jadx",
|
||||
"issue_tracker_url": "https://github.com/skylot/jadx",
|
||||
"vcs_url": "https://github.com/skylot/jadx",
|
||||
"licenses": ["Apache-2.0"],
|
||||
"labels": ["unstable"],
|
||||
"public_download_numbers": false,
|
||||
"public_stats": false
|
||||
},
|
||||
|
||||
"version": {
|
||||
"name": "BUILD_VERSION"
|
||||
},
|
||||
|
||||
"files":
|
||||
[
|
||||
{"includePattern": "build/(jadx.*\.zip)", "uploadPattern": "$1"}
|
||||
],
|
||||
"publish": true
|
||||
}
|
||||
Reference in New Issue
Block a user