Skip to content

Commit

Permalink
update:test
Browse files Browse the repository at this point in the history
  • Loading branch information
IoTServ committed Sep 6, 2020
1 parent 2971c93 commit f0b1c02
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit f0b1c02

Please sign in to comment.