mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
* Use gcc 4.8.x, boost 1.54 * Honor CC,CXX,PATH environment variables * Prevent compilation with unsupported toolchains * Print g++ version during Travis build * Run built-in unit tests after Travis build
24 lines
807 B
YAML
24 lines
807 B
YAML
language: cpp
|
|
compiler:
|
|
- gcc
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq python-software-properties
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo add-apt-repository -y ppa:boost-latest/ppa
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq libboost1.54-all-dev protobuf-compiler libprotobuf-dev libssl-dev exuberant-ctags
|
|
- sudo apt-get install -qq gcc-4.8
|
|
- sudo apt-get install -qq g++-4.8
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
|
|
- sudo update-alternatives --set gcc /usr/bin/gcc-4.8
|
|
- g++ -v
|
|
|
|
script: scons && ./build/rippled --unittest && npm install && npm test
|
|
notifications:
|
|
email:
|
|
false
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#ripple-dev"
|