summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2016-01-18 20:31:19 +0100
committerDominique Leuenberger <dimstar@opensuse.org>2016-01-19 09:04:15 +0100
commit25ce3bdd12ce2db0d52ae1d7fa9bdb6f1fdc4f87 (patch)
treed142d68ad1cc8275d1c4812847a1a1b7fbdd31b6
parente32975cba0b61626cca8661399f48596fb57f90e (diff)
downloadlibproxy-git-25ce3bdd12ce2db0d52ae1d7fa9bdb6f1fdc4f87.tar.gz
travis: enable building of modules
-rw-r--r--.travis.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 2055300..ba73731 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,9 +12,24 @@ matrix:
allow_failures:
- os: osx
+install:
+# create /etc/sysconfig so that the build process enables this module (build test)
+ - |
+ if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
+ sudo mkdir /etc/sysconfig
+ sudo apt-get -qq update
+ sudo apt-get install -y libjavascriptcoregtk-3.0-dev
+ fi
+
script:
- - $CXX --version
- - cmake .
+ - |
+ cmake . \
+ -DWITH_PERL=ON \
+ -DWITH_PYTHON=ON \
+ -DWITH_GNOME3=ON \
+ -DWITH_KDE=ON \
+ -DWITH_WEBKIT3=ON \
+ -DBIPR=0
- make
- sudo make install
- make test