mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Update travis dist/tools
This commit is contained in:
committed by
Nik Bougalis
parent
5c124f11c2
commit
b2170d016a
19
.travis.yml
19
.travis.yml
@@ -1,5 +1,6 @@
|
||||
sudo: false
|
||||
language: cpp
|
||||
dist: xenial
|
||||
|
||||
env:
|
||||
global:
|
||||
@@ -17,10 +18,12 @@ addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty-5.0
|
||||
- llvm-toolchain-xenial-7
|
||||
packages:
|
||||
- gcc-5
|
||||
- g++-5
|
||||
- gcc-7
|
||||
- g++-7
|
||||
- gcc-8
|
||||
- g++-8
|
||||
- python-software-properties
|
||||
- protobuf-compiler
|
||||
- libprotobuf-dev
|
||||
@@ -29,17 +32,15 @@ addons:
|
||||
- binutils-gold
|
||||
- cmake
|
||||
- lcov
|
||||
- llvm-5.0
|
||||
- clang-5.0
|
||||
- llvm-7
|
||||
- clang-7
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- compiler: gcc
|
||||
env: GCC_VER=5 BUILD_TYPE=Debug
|
||||
|
||||
env: GCC_VER=7 BUILD_TYPE=Debug
|
||||
- compiler: clang
|
||||
env: GCC_VER=5 BUILD_TYPE=Debug
|
||||
env: GCC_VER=7 BUILD_TYPE=Debug
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
||||
@@ -24,8 +24,9 @@ then
|
||||
tar xzf /tmp/boost.tar.gz
|
||||
cd $BOOST_ROOT && \
|
||||
$time ./bootstrap.sh --prefix=$BOOST_ROOT && \
|
||||
$time ./b2 -d1 define=_GLIBCXX_USE_CXX11_ABI=0 -j$((2*${NUM_PROCESSORS:-2})) &&\
|
||||
$time ./b2 -d0 define=_GLIBCXX_USE_CXX11_ABI=0 install
|
||||
$time ./b2 cxxflags="-std=c++14" -j$((2*${NUM_PROCESSORS:-2})) &&\
|
||||
$time ./b2 install
|
||||
|
||||
else
|
||||
echo "Using cached boost at $BOOST_ROOT"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user