From 2971c9334202a683875cd750a3f06a525c2ed6c6 Mon Sep 17 00:00:00 2001 From: iotserv Date: Sun, 6 Sep 2020 16:22:15 +0800 Subject: [PATCH] update:test --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40f168d..55706b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,12 +39,13 @@ jobs: - 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.14.1.linux-amd64.tar.gz -C /usr/local + - sudo tar -zxf go1.15.1.linux-amd64.tar.gz -C /usr/local - export GOROOT=/usr/local/go - export GOPATH=/home/travis/go - export PATH=$GOROOT/bin:$GOPATH/bin:$PATH - go version - go env + - export GO111MODULE=off # download ndk - wget -q https://dl.google.com/android/repository/android-ndk-r21-linux-x86_64.zip - sudo unzip -q android-ndk-r21-linux-x86_64.zip -d $ANDROID_HOME @@ -58,7 +59,6 @@ jobs: - go get -u github.com/OpenIoTHub/gateway-go # - find / client.aar - cd gateway-go/client - - go env -w GO111MODULE=off - go env - gomobile bind -target=android . - cd ../..