Updated .travis.yml

This commit is contained in:
Daniel Brunner
2018-10-05 01:11:06 +02:00
parent c546353bf4
commit d88d78082f
2 changed files with 9 additions and 9 deletions

View File

@@ -9,22 +9,22 @@ compiler:
cache: cache:
directories: directories:
- ~/.ccache - ~/.ccache
- qt5 - ../qt5
install: install:
- mkdir -p qt5 - mkdir -p ../qt5
- 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 ../qt5 ; fi
- pushd qt5 - pushd ../qt5
- if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats,qtmultimedia,qttools ; fi - 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 [ ! -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 - if [ ! -d build ] ; then make -j2 > /dev/null && make install ; fi
- popd - popd
- ccache -s
script: script:
- mkdir -p build - ccache -s
- pushd build - mkdir -p ../build_DbSoftware
- ../qt5/build/bin/qmake CONFIG+=ccache .. -config release - pushd ../build_DbSoftware
- ../qt5/build/bin/qmake CONFIG+=ccache ../DbSoftware -config release
- make -j2 - make -j2
- make install - make install
- popd - popd

View File

@@ -11,4 +11,4 @@ cd build_DbSoftware
qmake CONFIG+=ccache ../DbSoftware qmake CONFIG+=ccache ../DbSoftware
make -j$(nproc) make -j$(nproc)
make install make install
``` ```