trigger ci

This commit is contained in:
therecipe 2016-10-07 21:14:21 +02:00
parent 5ddc04d061
commit 2d713d7ff0
3 changed files with 6 additions and 3 deletions

View file

@ -4,11 +4,14 @@ machine:
CI: true
DESKTOP: true
ANDROID: true
GOPATH: /home/ubuntu/.go_workspace
GOPATH: /home/ubuntu/.go_project
dependencies:
post:
- export GOPATH=/home/ubuntu/.go_project
- go get -d github.com/therecipe/qt
- if [[ "$OS" == "linux" ]]; then $GOPATH/src/github.com/therecipe/qt/internal/ci/linux.sh; fi
test:
post:
- export GOPATH=/home/ubuntu/.go_project
- if [[ "$DESKTOP" == "true" ]]; then $GOPATH/src/github.com/therecipe/qt/setup.sh; else go run $GOPATH/src/github.com/therecipe/qt/internal/setup/generate.go; fi
- if [[ "$ANDROID" == "true" ]]; then $GOPATH/src/github.com/therecipe/qt/setup.sh android; fi

View file

@ -41,7 +41,7 @@ fi
#prepare env
sudo chown $USER /usr/local/bin
sudo chown -R $USER $GOPATH
sudo chown $USER $GOROOT/pkg | true
#check env
df -h

View file

@ -41,7 +41,7 @@ rm -f /tmp/$NDK
#prepare env
sudo chown $USER /usr/local/bin
sudo chown -R $USER $GOPATH
sudo chown $USER $GOROOT/pkg | true
#check env
df -h