diff options
author | Felix Lange <fjl@twurst.com> | 2016-11-15 01:10:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 01:10:03 +0800 |
commit | 8dcea0ac0785c92df84d55b8322281e12189d8fb (patch) | |
tree | 18d9c033f86af4eda374261e4c0a165ac2c733c0 /.travis.yml | |
parent | d89ea3e6f90c32a97bad58b82a15af0d81f4250e (diff) | |
parent | dfe79cc7845d94d14c2bc091c7eeac082f6b1e90 (diff) | |
download | dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.gz dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.zst dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.zip |
Merge pull request #2977 from karalabe/initial-mobile-suport
mobile: initial wrappers for mobile support
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 51af0570b..c93b57907 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,15 +53,36 @@ 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 + cache: + directories: + - $HOME/.android.platforms + - $HOME/.cocoapods script: - go run build/ci.go install - go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds + # Build the iOS framework and upload it to CocoaPods and Azure + - gem install cocoapods --pre + - go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds + + # Build the Android archive and upload it to Maven Central and Azure + - brew update + - brew install android-sdk maven + - export ANDROID_HOME=/usr/local/opt/android-sdk + + - mkdir -p $ANDROID_HOME/platforms + - mv -f $HOME/.android.platforms $ANDROID_HOME/platforms + - echo "y" | android update sdk --no-ui --filter platform + + - go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds + - mv -f $ANDROID_HOME/platforms $HOME/.android.platforms + install: - go get golang.org/x/tools/cmd/cover script: |