language: cpp

branches:
  only:
    - master

compiler:
  - gcc
  - clang

env:
  - VARIANT=debug
  - VARIANT=release

before_install:
  - sudo apt-get update -qq
  - wget https://github.com/boostorg/build/raw/develop/src/contrib/boost.jam -O ~/boost.jam
  - echo -e 'import boost ;\nboost.use-project ;\n using gcc ;\n using clang ;' > ~/user-config.jam
  - cat ~/user-config.jam

install:
  - sudo apt-get install -qq libboost-all-dev

# It just so happens that ${CC} corresponds to the Boost.Build toolset name.
script: ./test/bjam_test_in_parent_directory.sh toolset=${CC} variant=${VARIANT}

language: cpp

compiler:
  - gcc
  - clang

env:
  - VARIANT=debug
  - VARIANT=release

before_install:
  - sudo apt-get update -qq
  - wget https://github.com/boostorg/build/raw/develop/src/contrib/boost.jam -O ~/boost.jam
  - echo -e 'import boost ;\nboost.use-project ;\n using gcc ;\n using clang ;' > ~/user-config.jam
  - cat ~/user-config.jam

install:
  - sudo apt-get install -qq libboost-all-dev

# It just so happens that ${CC} corresponds to the Boost.Build toolset name.
script: ./test/bjam_test_in_parent_directory.sh -j2 toolset=${CC} variant=${VARIANT}

Speed up Travis CI runs
Speed up Travis CI runs

Run two compile jobs in parallel.
Download lcov 1.11 so it is possible to collect coverage statistics on only files of interest.
