Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ addons:
sources:
- boost-latest
- ubuntu-toolchain-r-test
packages:
- g++-4.8

matrix:
include:
Expand All @@ -29,12 +27,6 @@ matrix:
- os: linux
compiler: clang
env: LINK=dynamic
addons:
apt:
sources:
- sourceline: 'ppa:h-rayflood/llvm'
packages:
- clang-3.4
- os: linux
compiler: clang
env: LINK=static
Expand All @@ -47,6 +39,10 @@ matrix:
- os: linux
compiler: gcc
env: LINK=dynamic
addons:
apt:
packages:
- g++-4.8
- os: linux
compiler: gcc
env: LINK=static
Expand All @@ -72,11 +68,13 @@ before_install:

install:

# Export CC/CXX to control gcc version.
- if [[ $GCC ]]; then export CC=gcc-4.8; export CXX=g++-4.8; fi

# Export CC/CXX to control clang version.
- if [[ $CLANG ]]; then export CC=clang-3.4; export CXX=clang++-3.4; fi
# Export CC/CXX to control compiler/version.
- if [[ $OSX && $CLANG && $STATIC ]]; then export CC=clang; export CXX=clang++; fi
- if [[ $LINUX && $CLANG && $STATIC ]]; then export CC=clang-3.4; export CXX=clang++-3.4; fi
- if [[ $LINUX && $GCC && $STATIC ]]; then export CC=gcc; export CXX=g++; fi
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then export CC=clang; export CXX=clang++; fi
- if [[ $LINUX && $CLANG && $DYNAMIC ]]; then export CC=clang; export CXX=clang++; fi
- if [[ $LINUX && $GCC && $DYNAMIC ]]; then export CC=gcc-4.8; export CXX=g++-4.8; fi

# Download and install packages.
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then brew unlink boost; brew install boost; fi
Expand All @@ -87,7 +85,7 @@ script:
- if [[ $OSX && $CLANG && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --disable-shared --build-boost --prefix=$TRAVIS_BUILD_DIR/my-prefix; fi
- if [[ $LINUX && $CLANG && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --disable-shared --build-boost --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Os' CXXFLAGS='-Os'; fi
- if [[ $LINUX && $GCC && $STATIC ]]; then CC=$CC CXX=$CXX ./install.sh --build-boost --disable-shared --build-dir=my-build --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Og -g --coverage' CXXFLAGS='-Og -g --coverage'; fi
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh ; fi
- if [[ $OSX && $CLANG && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --disable-static; fi
- if [[ $LINUX && $CLANG && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --build-boost --disable-ndebug --disable-static --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Os' CXXFLAGS='-Os'; fi
- if [[ $LINUX && $GCC && $DYNAMIC ]]; then CC=$CC CXX=$CXX ./install.sh --disable-static --build-boost --prefix=$TRAVIS_BUILD_DIR/my-prefix CFLAGS='-Os -s' CXXFLAGS='-Os -s'; fi

Expand Down
2 changes: 1 addition & 1 deletion include/bitcoin/protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define LIBBITCOIN_PROTOCOL_HPP

/**
* API Users: Include only this header. Direct use of other headers is fragile
* API Users: Include only this header. Direct use of other headers is fragile
* and unsupported as header organization is subject to change.
*
* Maintainers: Do not include this header internal to this library.
Expand Down