blob: 67abba4bf4081ce62b541a2a25c187badc8b7ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
language: cpp
os:
- linux
- osx
compiler:
- clang
- gcc
matrix:
allow_failures:
- os: osx
before_install:
- |
export PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/pyenv/d' | tr "\n" ":" | sed "s|::|:|g")
# work-around for issue https://github.com/travis-ci/travis-ci/issues/6307
# might not be necessary in the future
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
rvm get stable
fi
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:
- |
cmake . \
-DWITH_PERL=ON \
-DWITH_PYTHON2=ON \
-DWITH_GNOME3=ON \
-DWITH_KDE=ON \
-DWITH_WEBKIT3=ON \
-DWITH_MOZJS=ON \
-DBIPR=0
- make
- sudo make install
- make test
|