Commit 2cb94856 authored by Skylot's avatar Skylot

build: setup bintray unstable upload

parent f53fc03c
......@@ -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
......
## JADX
[![Build Status](https://travis-ci.org/skylot/jadx.png?branch=master)](https://travis-ci.org/skylot/jadx)
[![Gitlab CI](https://gitlab.com/skylot/jadx/badges/master/build.svg)](https://gitlab.com/skylot/jadx/builds)
[![Jadx Core Coverage](https://gitlab.com/skylot/jadx/badges/master/coverage.svg)](https://gitlab.com/skylot/jadx/builds)
[![Code Coverage](https://codecov.io/gh/skylot/jadx/branch/master/graph/badge.svg)](https://codecov.io/gh/skylot/jadx)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/2166/badge.svg)](https://scan.coverity.com/projects/2166)
[![SonarQube Bugs](https://sonarcloud.io/api/badges/measure?key=jadx&metric=bugs)](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/)
......
{
"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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment