forked from phylo42/IPK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (44 loc) · 1.33 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
language: cpp
env:
global:
- DEPS_DIR=${TRAVIS_BUILD_DIR}/deps
- PATH="$TRAVIS_BUILD_DIR/cmake-download/bin:$PATH"
matrix:
include:
- os: linux
dist: bionic
sudo: true
compiler: gcc
addons:
apt:
packages: &precise_latest_boost_packages
- g++-9
- libboost-dev
- libboost-serialization-dev
- libboost-filesystem-dev
- libboost-iostreams-dev
- libboost-program-options-dev
- zlib1g-dev
# - cmake
sources: &precise_latest_boost_sources
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
before_install:
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
eval "${MATRIX_EVAL}" &&
mkdir cmake-download && cd cmake-download &&
curl -O https://cmake.org/files/v3.10/cmake-3.10.0-rc5-Linux-x86_64.sh &&
bash cmake-3.10.0-rc5-Linux-x86_64.sh --skip-license &&
cd ..
fi
# Combine global build options with OS/compiler-dependent options
- export CMAKE_OPTIONS=${CMAKE_OPTIONS}" "${ENV_CMAKE_OPTIONS}
- export CXX_FLAGS=${CXX_FLAGS}" "${ENV_CXX_FLAGS}
script:
- mkdir -p bin && cd bin
- cmake .. -DCMAKE_BUILD_TYPE=Release -DHASH_MAP=USE_TSL_ROBIN_MAP
- make all
- make test_dna
- cd tests
- ctest -C Release