File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ addons:
11
11
- liblmdb-dev
12
12
- cppcheck
13
13
14
+ homebrew :
15
+ packages :
16
+ - cppcheck
17
+ - libmaxminddb
18
+ - lmdb
19
+ - yajl
20
+ update : true
21
+
14
22
language : cpp
15
23
16
24
compiler :
21
29
- linux
22
30
- osx
23
31
32
+ osx_image : xcode12
33
+
24
34
env :
25
35
- OPTS="--enable-parser-generation $OPTS"
26
36
- OPTS="--without-curl $OPTS"
31
41
- OPTS="--without-lua $OPTS"
32
42
- OPTS="--without-maxmind $OPTS"
33
43
44
+
34
45
before_script :
35
46
- echo $TRAVIS_OS_NAME
36
- - ' [ "$TRAVIS_OS_NAME" != osx ] || brew update'
37
- - ' [ "$TRAVIS_OS_NAME" != osx ] || brew install cppcheck'
38
- - ' [ "$TRAVIS_OS_NAME" != osx ] || brew install libmaxminddb'
39
- - ' [ "$TRAVIS_OS_NAME" != osx ] || brew install lmdb'
40
47
- ' [ "$TRAVIS_OS_NAME" != linux ] || sudo add-apt-repository --yes ppa:maxmind/ppa'
41
48
- ' [ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get update'
42
49
- ' [ "$TRAVIS_OS_NAME" != linux ] || sudo apt-cache search maxmind'
43
50
- ' [ "$TRAVIS_OS_NAME" != linux ] || sudo apt-get install -y libmaxminddb-dev'
44
51
52
+
45
53
script :
46
54
- ./build.sh
47
55
- ./configure $OPTS
You can’t perform that action at this time.
0 commit comments