forked from encryptogroup/OTExtension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (29 loc) · 784 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
32
33
language: cpp
compiler: g++
dist: xenial
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'ppa:mhier/libboost-latest'
packages:
- g++-8
- libboost1.67-dev
- libgmp-dev
- libssl-dev
before_install:
# Install a recent CMake
- mkdir $HOME/prefix
- export PATH="$HOME/prefix/bin:$PATH"
- wget https://cmake.org/files/v3.14/cmake-3.14.0-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 -DOTEXTENSION_BUILD_EXE=On
- make
- ./mains/test 0 &
- ./mains/test 1
notifications:
- email: false