-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
31 lines (27 loc) · 909 Bytes
/
.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
language: cpp
compiler: g++
dist: bionic
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'ppa:mhier/libboost-latest'
before_install:
- sudo add-apt-repository -y ppa:mhier/libboost-latest
- sudo apt-get update
- sudo apt-get install -y g++-8 libboost1.70-dev libgmp-dev libssl-dev
# Install a recent CMake
- mkdir $HOME/prefix
- export PATH="$HOME/prefix/bin:$PATH"
- wget https://cmake.org/files/v3.15/cmake-3.15.2-Linux-x86_64.sh -O cmake_install.sh
- chmod +x cmake_install.sh
- ./cmake_install.sh --prefix=$HOME/prefix --exclude-subdir --skip-license
script:
- mkdir build_debug
- cd build_debug
- CC=/usr/bin/gcc-8 CXX=/usr/bin/g++-8 cmake -DCMAKE_BUILD_TYPE=Debug -DMOTION_BUILD_TESTS=On -j 2 ..
- make -j 5
# travis does not support IPv6 ...
- ./bin/motiontest --gtest_filter='-*ipv6*'
notifications:
- email: false