mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-28 22:45:49 +00:00
Remove mention of npm tests in developer docs. Eliminate `npm test` from automation and ci scripts.
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
machine:
|
|
services:
|
|
- docker
|
|
dependencies:
|
|
pre:
|
|
- sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
|
|
- echo "deb [arch=amd64 trusted=yes] https://test-mirrors.ripple.com/ubuntu/ trusty testing" | sudo tee /etc/apt/sources.list.d/ripple.list
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get purge -qq libboost1.48-dev
|
|
- sudo apt-get install -qq libboost1.60-all-dev
|
|
- sudo apt-get install -qq clang-3.6 gcc-5 g++-5 libobjc-5-dev libgcc-5-dev libstdc++-5-dev libclang1-3.6 libgcc1 libgomp1 libstdc++6 scons protobuf-compiler libprotobuf-dev libssl-dev exuberant-ctags
|
|
- lsb_release -a
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 99
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 99
|
|
- sudo update-alternatives --force --install /usr/bin/clang clang /usr/bin/clang-3.6 99 --slave /usr/bin/clang++ clang++ /usr/bin/clang++-3.6
|
|
- gcc --version
|
|
- clang --version
|
|
- clang++ --version
|
|
test:
|
|
pre:
|
|
- scons clang.debug
|
|
override:
|
|
# Execute unit tests under gdb
|
|
- gdb -return-child-result -quiet -batch -ex "set env MALLOC_CHECK_=3" -ex "set print thread-events off" -ex run -ex "thread apply all backtrace full" -ex "quit" --args build/clang.debug/rippled --unittest
|