-
-
Notifications
You must be signed in to change notification settings - Fork 220
/
.travis.yml
53 lines (49 loc) · 1 KB
/
.travis.yml
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
47
48
49
50
51
52
53
language: cpp
matrix:
include:
- os: osx
osx_image: xcode12.2
sudo: required
env:
- CONFIG_SHARED_MONGOC="--enable-shared-mongoc"
addons:
homebrew:
update: true
packages:
- qt
- mongo-c-driver
- os: osx
osx_image: xcode10.3
sudo: required
env:
- CONFIG_SHARED_MONGOC=""
addons:
homebrew:
update: true
packages:
- qt
- mongo-c-driver
env:
global:
- CI_WORK=$(pwd)
install:
- cd ${CI_WORK}
- qmake -v
- ./configure --prefix=/usr/local ${CONFIG_SHARED_MONGOC}
- make -j4 -C src
- sudo make -C src install
- make -j4 -C tools
- sudo make -C tools install
- treefrog -v
before_script:
- cd ${CI_WORK}
- cd tools/tmake/test
- qmake tmaketest.pro
- make
script:
- cd ${CI_WORK}
- ./src/test/testall.sh
- cd ${CI_WORK}/tools/tmake/test
- ./tmaketest
- cd ${CI_WORK}/tools/test
- ./releasetest/releasetest