https://github.com/vlanore/tinycompo
Raw File
Tip revision: c7acf325c84b68ec91eaf937ad49f17281e84079 authored by Vincent Lanore on 15 March 2018, 15:20:27 UTC
MPI test should now try to gather coverage data (no idea what this does).
Tip revision: c7acf32
.travis.yml
language: cpp

dist: trusty
sudo: false

matrix:
  include:
    - addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
            - libopenmpi-dev
            - openmpi-bin
      env:
        - COMPILER=g++-5
        - OMPI_CXX=$COMPILER
    - addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
            - llvm-toolchain-precise-3.6
          packages:
            - g++-5
            - clang-3.6
            - libopenmpi-dev
            - openmpi-bin
      env:
        - COMPILER=clang++-3.6
        - OMPI_CXX=$COMPILER

before_install:
  - pip install --user cpp-coveralls

script:
  - export CXX=$COMPILER
  - $CXX -v
  - mpic++ -v
  - if [ "$CXX" == "g++-5" ]; then export TINYCOMPO_FLAGS="-fprofile-arcs -ftest-coverage -g"; fi
  - make && make test
  - if [ "$CXX" == "clang++-3.6" ]; then make test_mpi; fi

after_success:
  - if [ "$CXX" == "g++-5" ]; then coveralls --exclude test --exclude example --exclude tinycompo_mpi.hpp --exclude test.cpp -t GdwyhgW7dWNP8F2nPJhfml2p89pYt41bR; fi
back to top