aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-17 20:17:14 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-14 23:56:58 +0800
commitb7dfd333c5ac5caf4278e2557503dc4fe4eb46c9 (patch)
tree56aa781c07c9b2a8718af0c69d65b661008fbafa /.travis.yml
parent178da7c6a94718389e7192d87df5ee42e7223bc3 (diff)
downloaddexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.gz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.bz2
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.lz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.xz
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.tar.zst
dexon-b7dfd333c5ac5caf4278e2557503dc4fe4eb46c9.zip
.travis, build: Build step to push .aar to Maven Central
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 5 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index dbc3cc812..3841a78c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,29 +53,22 @@ matrix:
- CC=aarch64-linux-gnu-gcc go run build/ci.go install -arch arm64
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
- # This builder does the OSX Azure uploads
+ # This builder does the OSX Azure, Android Maven and Azure and iOS CocoaPods and Azure uploads
- os: osx
go: 1.7
env:
- azure-osx
+ - mobile
script:
- go run build/ci.go install
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
- # This builder does the mobile builds (and nothing else)
- - os: osx
- go: 1.7
- script:
+ # Build the Android archives and upload them to Maven Central
- brew update
- - brew install android-sdk
+ - brew install android-sdk maven
- export ANDROID_HOME=/usr/local/opt/android-sdk
- echo "y" | android update sdk --no-ui --filter platform
- - go get github.com/tools/godep
- - godep restore
- - go get golang.org/x/mobile/cmd/gomobile
- - gomobile init
- - gomobile bind --target=android --javapkg=org.ethereum -v github.com/ethereum/go-ethereum/mobile
- - gomobile bind --target=ios --tags=ios -v github.com/ethereum/go-ethereum/mobile
+ - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
install:
- go get golang.org/x/tools/cmd/cover