cutego/.travis.yml

49 lines
1.4 KiB
YAML
Raw Normal View History

2016-10-04 20:38:53 +03:00
language: go
2016-10-05 01:28:24 +03:00
dist: trusty
sudo: required
2017-03-11 22:08:40 +03:00
go: 1.8.x
2016-10-04 20:38:53 +03:00
env: DESKTOP=true ANDROID=false
2016-10-06 00:41:51 +03:00
2016-10-04 23:53:23 +03:00
matrix:
include:
- os: linux
env: DESKTOP=true ANDROID=false QT_PKG_CONFIG=true PKG_CONFIG_PATH=/opt/qt58/lib/pkgconfig QT_DOC_DIR=/opt/qt58/doc QT_MISC_DIR=/opt/qt58
2017-02-16 00:36:55 +03:00
- os: linux
env: DESKTOP=false ANDROID=true
2017-02-16 00:36:55 +03:00
- os: osx
osx_image: xcode8.2
env: DESKTOP=true ANDROID=false
2017-02-16 00:36:55 +03:00
2016-12-14 18:07:24 +03:00
- os: osx
osx_image: xcode8.2
env: DESKTOP=true ANDROID=false QT_HOMEBREW=true
2016-12-14 18:07:24 +03:00
2017-02-16 00:36:55 +03:00
- os: osx
osx_image: xcode8.2
env: DESKTOP=false ANDROID=true
2017-02-16 00:36:55 +03:00
2016-10-17 22:59:02 +03:00
- os: osx
2016-12-14 18:07:24 +03:00
osx_image: xcode8.2
env: DESKTOP=false ANDROID=false IOS=true
2016-10-17 22:59:02 +03:00
- os: osx
2016-12-14 18:07:24 +03:00
osx_image: xcode8.2
env: DESKTOP=false ANDROID=false IOS_SIMULATOR=true
2016-10-17 22:59:02 +03:00
2016-10-04 20:38:53 +03:00
install:
2016-10-06 19:34:00 +03:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_wait 30 $GOPATH/src/github.com/therecipe/qt/internal/ci/linux.sh; fi
2016-10-06 17:53:27 +03:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 45 $GOPATH/src/github.com/therecipe/qt/internal/ci/darwin.sh; fi
2016-10-04 22:07:39 +03:00
2016-10-04 20:38:53 +03:00
script:
2016-10-30 05:53:56 +03:00
- go get -v github.com/therecipe/qt/cmd/...
2017-03-11 01:13:00 +03:00
- if [[ "$DESKTOP" == "true" ]]; then $GOPATH/bin/qtsetup full desktop; fi
- if [[ "$ANDROID" == "true" ]]; then $GOPATH/bin/qtsetup full android; fi
- if [[ "$IOS" == "true" ]]; then $GOPATH/bin/qtsetup full ios; fi
- if [[ "$IOS_SIMULATOR" == "true" ]]; then $GOPATH/bin/qtsetup full ios-simulator; fi
- if [[ "$QT_WINDOWS_CC" == "true" ]]; then $GOPATH/bin/qtsetup full windows; fi