cutego/.travis.yml
therecipe 1c2fcd441f breaking changes; make use of qmake + drop legacy code
The cgo files are now generated by parsing the Makefiles generated by
qmake.
This greatly simplifies the support for additional targets, and also
removes the need to maintain extra backward and forward compatibility
code.

But these (backend) changes needed to come along with some breaking
changes to the (fontend) tooling.
So there is now the need to always specify the target when you use
qtmoc, qtrcc or qtminimal.

Some other minor breaking changes were:
The moc and rcc files are not automatically removed anymore by qtdeploy.
Because qtdeploy now has a -fast flag to make used of these cached
files.

The use of docker is now specified by using the -docker flag.

And the docker images were renamed to make their use case more clear.
2017-03-16 20:18:32 +01:00

49 lines
1.4 KiB
YAML
Executable file

language: go
dist: trusty
sudo: required
go: 1.8.x
env: DESKTOP=true ANDROID=false
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
- os: linux
env: DESKTOP=false ANDROID=true
- os: osx
osx_image: xcode8.2
env: DESKTOP=true ANDROID=false
- os: osx
osx_image: xcode8.2
env: DESKTOP=true ANDROID=false QT_HOMEBREW=true
- os: osx
osx_image: xcode8.2
env: DESKTOP=false ANDROID=true
- os: osx
osx_image: xcode8.2
env: DESKTOP=false ANDROID=false IOS=true
- os: osx
osx_image: xcode8.2
env: DESKTOP=false ANDROID=false IOS_SIMULATOR=true
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_wait 30 $GOPATH/src/github.com/therecipe/qt/internal/ci/linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 45 $GOPATH/src/github.com/therecipe/qt/internal/ci/darwin.sh; fi
script:
- go get -v github.com/therecipe/qt/cmd/...
- 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