@@ -53,27 +53,52 @@ matrix:
53
53
- CC=aarch64-linux-gnu-gcc go run build/ci.go install -arch arm64
54
54
- go run build/ci.go archive -arch arm64 -type tar -signer LINUX_SIGNING_KEY -upload gethstore/builds
55
55
56
- # This builder does the OSX Azure, Android Maven and Azure and iOS CocoaPods and Azure uploads
56
+ # This builder does the Android Maven and Azure uploads
57
+ - os : linux
58
+ dist : precise # Needed for the android tools
59
+ addons :
60
+ apt :
61
+ packages :
62
+ - oracle-java8-installer
63
+ - oracle-java8-set-default
64
+ language : android
65
+ android :
66
+ components :
67
+ - platform-tools
68
+ - tools
69
+ - android-15
70
+ - android-19
71
+ - android-24
72
+ env :
73
+ - azure-android
74
+ - maven-android
75
+ before_install :
76
+ - curl https://storage.googleapis.com/golang/go1.8rc3.linux-amd64.tar.gz | tar -xz
77
+ - export PATH=`pwd`/go/bin:$PATH
78
+ - export GOROOT=`pwd`/go
79
+ - export GOPATH=$HOME/go # Drop post Go 1.8
80
+ script :
81
+ # Build the Android archive and upload it to Maven Central and Azure
82
+ - curl https://dl.google.com/android/repository/android-ndk-r13b-linux-x86_64.zip -o android-ndk-r13b.zip
83
+ - unzip -q android-ndk-r13b.zip && rm android-ndk-r13b.zip
84
+ - mv android-ndk-r13b $HOME
85
+ - export ANDROID_NDK=$HOME/android-ndk-r13b
86
+
87
+ - mkdir -p $GOPATH/src/github.com/ethereum
88
+ - ln -s `pwd` $GOPATH/src/github.com/ethereum
89
+ - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
90
+
91
+ # This builder does the OSX Azure, iOS CocoaPods and iOS Azure uploads
57
92
- os : osx
58
93
go : 1.7.4
59
94
env :
60
95
- azure-osx
61
- - mobile
96
+ - azure-ios
97
+ - cocoapods-ios
62
98
script :
63
99
- go run build/ci.go install
64
100
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
65
101
66
- # Build the Android archive and upload it to Maven Central and Azure
67
- - brew update
68
- - travis_wait 60 brew install android-sdk android-ndk maven gpg
69
- - alias gpg="gpg2"
70
-
71
- - export ANDROID_HOME=/usr/local/opt/android-sdk
72
- - export ANDROID_NDK=/usr/local/opt/android-ndk
73
- - echo "y" | android update sdk --no-ui --filter `android list sdk | grep "SDK Platform Android" | grep -E 'API 15|API 19|API 24' | awk '{print $1}' | cut -d '-' -f 1 | tr '\n' ','`
74
-
75
- - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
76
-
77
102
# Build the iOS framework and upload it to CocoaPods and Azure
78
103
- gem uninstall cocoapods -a
79
104
- gem install cocoapods --pre
0 commit comments