mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
* Remove all builds except cmake gcc & clang debug. * Time some dependency and build operations, using a custom format to avoid interfering with other timers. * Use Travis's "trusty" infrastructure. * Install more dependencies via apt. * Update boost version to 1.65.1. * Do not run unit tests under gdb - several security features prevent it from running correctly. * Run test job with two processes.
30 lines
770 B
Bash
Executable File
30 lines
770 B
Bash
Executable File
#!/bin/bash -u
|
|
# Exit if anything fails. Echo commands to aid debugging.
|
|
set -ex
|
|
|
|
# Target working dir - defaults to current dir.
|
|
# Can be set from caller, or in the first parameter
|
|
TWD=$( cd ${TWD:-${1:-${PWD:-$( pwd )}}}; pwd )
|
|
echo "Target path is: $TWD"
|
|
# Override gcc version to $GCC_VER.
|
|
# Put an appropriate symlink at the front of the path.
|
|
mkdir -pv $HOME/bin
|
|
for g in gcc g++ gcov gcc-ar gcc-nm gcc-ranlib
|
|
do
|
|
test -x $( type -p ${g}-$GCC_VER )
|
|
ln -sv $(type -p ${g}-$GCC_VER) $HOME/bin/${g}
|
|
done
|
|
|
|
# What versions are we ACTUALLY running?
|
|
if [ -x $HOME/bin/g++ ]; then
|
|
$HOME/bin/g++ -v
|
|
else
|
|
g++ -v
|
|
fi
|
|
|
|
pip install --user requests==2.13.0
|
|
pip install --user https://github.com/codecov/codecov-python/archive/master.zip
|
|
|
|
bash bin/sh/install-boost.sh
|
|
|