diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rwxr-xr-x | .travis/install-extra-cmake-modules.sh | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index bb721a3e..801c5d34 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -6,12 +6,10 @@ addons: | |||
6 | sources: | 6 | sources: |
7 | - ubuntu-toolchain-r-test | 7 | - ubuntu-toolchain-r-test |
8 | - ubuntu-sdk-team | 8 | - ubuntu-sdk-team |
9 | - sourceline: "ppa:rjvbertin/kde-git" | ||
10 | - sourceline: "ppa:beineri/opt-qt571-trusty" | 9 | - sourceline: "ppa:beineri/opt-qt571-trusty" |
11 | packages: | 10 | packages: |
12 | - g++-6 | 11 | - g++-6 |
13 | - cmake | 12 | - cmake |
14 | - extra-cmake-modules | ||
15 | - ninja-build | 13 | - ninja-build |
16 | # TODO: that's a bit much (especially downloading the | 14 | # TODO: that's a bit much (especially downloading the |
17 | # documentation, 3D stuff, etc.) | 15 | # documentation, 3D stuff, etc.) |
@@ -21,6 +19,7 @@ before_script: | |||
21 | - source /opt/qt57/bin/qt57-env.sh | 19 | - source /opt/qt57/bin/qt57-env.sh |
22 | - ./.travis/install-kasync.sh | 20 | - ./.travis/install-kasync.sh |
23 | - ./.travis/install-flatbuffers.sh | 21 | - ./.travis/install-flatbuffers.sh |
22 | - ./.travis/install-extra-cmake-modules.sh | ||
24 | - ./.travis/install-kdav2.sh | 23 | - ./.travis/install-kdav2.sh |
25 | - ./.travis/install-kimap2.sh | 24 | - ./.travis/install-kimap2.sh |
26 | 25 | ||
diff --git a/.travis/install-extra-cmake-modules.sh b/.travis/install-extra-cmake-modules.sh new file mode 100755 index 00000000..b784c772 --- /dev/null +++ b/.travis/install-extra-cmake-modules.sh | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/bash | ||
2 | set -xeuo pipefail | ||
3 | git clone "git://anongit.kde.org/extra-cmake-modules" /tmp/ecm | ||
4 | cd ecm | ||
5 | git checkout 5.43.0 | ||
6 | mkdir build | ||
7 | cd build | ||
8 | cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr | ||
9 | ninja && sudo ninja install | ||