-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) 路 734 Bytes
/
Copy path.travis.yml
File metadata and controls
29 lines (29 loc) 路 734 Bytes
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
language: cpp
dist: xenial
compiler:
- gcc
cache:
directories:
- /home/travis/vcpkg/
before_script:
- export CC=gcc-9
- export CXX=g++-9
- pushd . && cd ~
- if [ ! -f "vcpkg/bootstrap-vcpkg.sh" ] ; then git clone https://github.com/Microsoft/vcpkg.git ; fi
- cd vcpkg && ./bootstrap-vcpkg.sh && ./vcpkg install catch2
script:
- popd
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake
- cd build && cmake --build .
- ./BPlusTreeTest
after_success:
- if [ "$BUILD_TYPE" == 'RELEASE' ] ; then ./BPlusTree; fi
env:
- BUILD_TYPE=DEBUG
- BUILD_TYPE=RELEASE
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9