Added caching of qt5 in .travis.yml

This commit is contained in:
0xFEEDC0DE64 committed 2017-12-24 20:44:26 +01:00
1 parent ae96fa1d1e
commit faa7778685
2 files changed
+12 -13

No files matched your search

+4 -13
View File
@@ -5,21 +5,12 @@ dist: trusty
compiler:
- gcc
before_install:
install:
cache:
directories:
- qt5
before_script:
- if [ ! -d qt5 ]
- then
- git clone --branch=5.10 git://code.qt.io/qt/qt5.git
- pushd qt5
- perl init-repository --module-subset=qtbase,qtimageformats
- ./configure -static -opensource -nomake examples -nomake tests -confirm-license
- make -j2
- sudo make install
- popd
- fi
- if [ ! -d qt5 ] ; then source make_qt.sh ; fi
script:
- which qmake
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash0
git clone --branch=5.10 git://code.qt.io/qt/qt5.git
pushd qt5
perl init-repository --module-subset=qtbase,qtimageformats
./configure -static -opensource -nomake examples -nomake tests -confirm-license
make -j2
sudo make install
popd