Added cache again

This commit is contained in:
0xFEEDC0DE64
2017-12-24 21:30:19 +01:00
parent e04ef5cf1a
commit aca9664316

View File

@@ -3,11 +3,16 @@ os: linux
dist: trusty dist: trusty
compiler: gcc compiler: gcc
cache:
directories:
- qt5
before_script: before_script:
- git clone --branch=5.10 git://code.qt.io/qt/qt5.git - 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 - pushd qt5
- perl init-repository --module-subset=qtbase,qtimageformats - if [ ! -d qtbase/.git ] ; then perl init-repository --module-subset=qtbase,qtimageformats ; fi
- ./configure -opensource -nomake examples -nomake tests -confirm-license - if [ ! -f config.summaryr ] ; then ./configure -opensource -nomake examples -nomake tests -confirm-license ; fi
- make -j2 - make -j2
- sudo make install - sudo make install
- popd - popd