Build more toolkits with Travis CI
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -30,6 +30,18 @@ matrix:
|
|||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: wxTOOLSET=cmake wxCMAKE_GENERATOR=Xcode wxCMAKE_DEFINES="-DCMAKE_CXX_STANDARD=11"
|
env: wxTOOLSET=cmake wxCMAKE_GENERATOR=Xcode wxCMAKE_DEFINES="-DCMAKE_CXX_STANDARD=11"
|
||||||
|
- dist: trusty
|
||||||
|
compiler: gcc
|
||||||
|
env: wxCONFIGURE_FLAGS="--with-x11 --enable-pch --disable-stc" wxSKIP_SAMPLES=1
|
||||||
|
- dist: trusty
|
||||||
|
compiler: gcc
|
||||||
|
env: wxCONFIGURE_FLAGS="--with-directfb --enable-pch --disable-stc" wxSKIP_SAMPLES=1
|
||||||
|
- dist: trusty
|
||||||
|
compiler: gcc
|
||||||
|
env: wxCONFIGURE_FLAGS="--with-motif --enable-pch --disable-stc" wxSKIP_SAMPLES=1
|
||||||
|
- dist: trusty
|
||||||
|
compiler: gcc
|
||||||
|
env: wxCONFIGURE_FLAGS="--with-qt --enable-pch" wxSKIP_SAMPLES=1
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
@@ -14,7 +14,14 @@ case $(uname -s) in
|
|||||||
3) libgtk_dev=libgtk-3-dev ;;
|
3) libgtk_dev=libgtk-3-dev ;;
|
||||||
*) libgtk_dev=libgtk2.0-dev;;
|
*) libgtk_dev=libgtk2.0-dev;;
|
||||||
esac
|
esac
|
||||||
$SUDO apt-get install -y $libgtk_dev libnotify-dev
|
|
||||||
|
case "$wxCONFIGURE_FLAGS" in
|
||||||
|
*--with-directfb*) libtoolkit_dev='libdirectfb-dev' ;;
|
||||||
|
*--with-motif*) libtoolkit_dev='libmotif-dev libxmu-dev' ;;
|
||||||
|
*--with-qt*) libtoolkit_dev='qtdeclarative5-dev' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
$SUDO apt-get install -y $libgtk_dev $libtoolkit_dev libnotify-dev
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user