Updated .travis.yml
This commit is contained in:
16
.travis.yml
16
.travis.yml
@@ -9,22 +9,22 @@ compiler:
|
||||
cache:
|
||||
directories:
|
||||
- ~/.ccache
|
||||
- qt5
|
||||
- ../qt5
|
||||
|
||||
install:
|
||||
- mkdir -p qt5
|
||||
- if [ ! -d qt5/.git ] ; then rm qt5 -Rf ; git clone --branch=5.10 git://code.qt.io/qt/qt5.git ; fi
|
||||
- pushd qt5
|
||||
- mkdir -p ../qt5
|
||||
- if [ ! -d ../qt5/.git ] ; then rm ../qt5 -Rf ; git clone --branch=5.10 git://code.qt.io/qt/qt5.git ../qt5 ; fi
|
||||
- pushd ../qt5
|
||||
- if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats,qtmultimedia,qttools ; fi
|
||||
- if [ ! -f config.summary ] ; then ./configure -prefix `pwd`/build -opensource -confirm-license -nomake examples -nomake tests ; fi
|
||||
- if [ ! -d build ] ; then make -j2 > /dev/null && make install ; fi
|
||||
- popd
|
||||
- ccache -s
|
||||
|
||||
script:
|
||||
- mkdir -p build
|
||||
- pushd build
|
||||
- ../qt5/build/bin/qmake CONFIG+=ccache .. -config release
|
||||
- ccache -s
|
||||
- mkdir -p ../build_DbSoftware
|
||||
- pushd ../build_DbSoftware
|
||||
- ../qt5/build/bin/qmake CONFIG+=ccache ../DbSoftware -config release
|
||||
- make -j2
|
||||
- make install
|
||||
- popd
|
Reference in New Issue
Block a user