Skip to content

Commit 15b38fb

Browse files
author
Felipe Zimmerle
committed
Travis: adds --without-maxmind option
1 parent df169ea commit 15b38fb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dist: trusty
2-
sudo: false
2+
sudo: true
33

44
addons:
55
apt:
@@ -29,10 +29,17 @@ env:
2929
- OPTS="--without-lmdb $OPTS"
3030
- OPTS="--without-ssdeep $OPTS"
3131
- OPTS="--without-lua $OPTS"
32+
- OPTS="--without-maxmind $OPTS"
3233

3334
before_script:
35+
- echo $TRAVIS_OS_NAME
3436
- '[ "$TRAVIS_OS_NAME" != osx ] || brew update'
3537
- '[ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck'
38+
- '[ "$TRAVIS_OS_NAME" != osx ] || brew install libmaxminddb'
39+
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo add-apt-repository --yes ppa:maxmind/ppa'
40+
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update'
41+
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind'
42+
- '[ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
3643

3744
script:
3845
- ./build.sh

0 commit comments

Comments
 (0)