diff --git a/.travis.yml b/.travis.yml index 55706b8..8ef6fc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,6 @@ jobs: - fonts-droid before_script: - git clone https://github.com/flutter/flutter.git - # build aar - - git clone https://github.com/OpenIoTHub/gateway-go.git # download golang - wget -q https://dl.google.com/go/go1.15.1.linux-amd64.tar.gz - sudo tar -zxf go1.15.1.linux-amd64.tar.gz -C /usr/local @@ -57,14 +55,9 @@ jobs: - gomobile version - pwd - go get -u github.com/OpenIoTHub/gateway-go -# - find / client.aar - - cd gateway-go/client - go env - - gomobile bind -target=android . - - cd ../.. - rm -rf android/app/libs/*.aar - - ls -a - - cp ./gateway-go/client/client.aar android/app/libs + - gomobile bind -target=android -o=android/app/libs github.com/OpenIoTHub/gateway-go/client # build aar over script: - yes | sdkmanager "platforms;android-28"