summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRohan Garg <rohan@garg.io>2017-03-15 17:58:15 +0100
committerRohan Garg <rohan@garg.io>2017-03-15 17:58:15 +0100
commit2dab9e11be0bfc0c18bf2478bc943bb855b0ecd8 (patch)
tree87686943aa7083888fcb1bc4aeb1d27dffcb733a /.travis.yml
parent3fe94e5e98a4c1bb4588d8330fa33662d8fa6eba (diff)
Use Docker since Travis host OS is super old
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml43
1 files changed, 8 insertions, 35 deletions
diff --git a/.travis.yml b/.travis.yml
index 63587f3c5..0832806d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,38 +1,11 @@
language: cpp
-addons:
- apt:
- sources:
- - neon
- - sourceline: 'deb http://archive.neon.kde.org/user xenial main'
- key_url: 'http://archive.neon.kde.org/public.key'
- packages:
- - cmake
- - extra-cmake-modules
- - gettext
- - kio-dev
- - libatasmart-dev
- - libboost-python-dev
- - libkf5config-dev
- - libkf5coreaddons-dev
- - libkf5i18n-dev
- - libkf5iconthemes-dev
- - libkf5parts-dev
- - libkf5service-dev
- - libkf5solid-dev
- - libkpmcore-dev
- - libparted-dev
- - libpolkit-qt5-1-dev
- - libqt5svg5-dev
- - libqt5webkit5-dev
- - libyaml-cpp-dev
- - os-prober
- - pkg-config
- - python3-dev
- - qtbase5-dev
- - qtdeclarative5-dev
- - qttools5-dev
- - qttools5-dev-tool
+sudo: required
+
+services:
+ - docker
+
+before_install:
+ - docker build -t calamares .
script:
- - cmake -DWEBVIEW_FORCE_WEBKIT=1 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON .
- - make
+ - docker run -v $PWD:/build calamares bash -lc "cd /build && cmake -DWEBVIEW_FORCE_WEBKIT=1 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON . && make -j9"