Continuous integration #52
@@ -1,5 +1,6 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
os: linux
|
os: linux
|
||||||
|
sudo: false
|
||||||
dist: trusty
|
dist: trusty
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
@@ -12,14 +13,13 @@ before_script:
|
|||||||
- if [ ! -d qt5/.git ] ; then rm qt5 -Rf ; git clone --branch=5.10 git://code.qt.io/qt/qt5.git ; fi
|
- if [ ! -d qt5/.git ] ; then rm qt5 -Rf ; git clone --branch=5.10 git://code.qt.io/qt/qt5.git ; fi
|
||||||
- pushd qt5
|
- pushd qt5
|
||||||
- if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats,qttools ; fi
|
- if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats,qttools ; fi
|
||||||
- if [ ! -f config.summary ] ; then ./configure -opensource -confirm-license -nomake examples -nomake tests ; fi
|
- if [ ! -f config.summary ] ; then ./configure -prefix `pwd`/build -opensource -confirm-license -nomake examples -nomake tests ; fi
|
||||||
- make -j2 > /dev/null
|
- if [ ! -d build ] ; then make -j2 > /dev/null && make install ; fi
|
||||||
- sudo make install
|
|
||||||
- popd
|
- popd
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p build
|
- mkdir -p build
|
||||||
- pushd build
|
- pushd build
|
||||||
- ../qt5/qtbase/bin/qmake .. -config release
|
- ../qt5/build/bin/qmake .. -config release
|
||||||
- make -j2
|
- make -j2
|
||||||
- popd
|
- popd
|
Reference in New Issue
Block a user