Files
Quazip/.travis.yml
2018-10-07 16:34:10 +02:00

34 lines
1003 B
YAML

language: cpp
os: linux
sudo: false
dist: trusty
compiler:
- gcc
- clang
cache:
directories:
- ~/.ccache
- ../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 ../qt5 ; fi
- pushd ../qt5
- if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats,qtmultimedia,qtserialport,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
script:
- ccache -s
- git clone https://github.com/0xFEEDC0DE64/DbSoftware.git ../DbSoftware
- shopt -s dotglob
- mv * ../DbSoftware/3rdparty/Quazip -v
- mkdir -p ../build_DbSoftware
- pushd ../build_DbSoftware
- ../qt5/build/bin/qmake CONFIG+=ccache ../DbSoftware -config release
- make -j2 sub-libs
- make sub-libs-install_subtargets
- popd