language: c++

addons:
    apt:
        sources:
            - ubuntu-toolchain-r-test
        packages:
            #Tool chains
            - cmake
            - gcc-4.9
            - gcc-5
            - gcc-6
            - gcc-7

            #Intel threadbuilding blocks
            - libtbb-dev

matrix:
    include:
        #Extensive testing for base compiler
        - env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-4.9
        - env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=serial COMPILER=g++-4.9
        - env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=tbb COMPILER=g++-4.9
        - env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=cilk COMPILER=g++-4.9

        #Simple testing for other compilers
        - env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-5
        - env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-6
        - env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-7

script:
    - CXX=$COMPILER make -j2
    - ./scripts/reg_test.py --tatum_test_exec build/tatum_test/tatum_test --tatum_nworkers 2 $TESTS

language: c++

addons:
    apt:
        sources:
            - ubuntu-toolchain-r-test
        packages:
            #Tool chains
            - cmake
            - g++-4.9
            - g++-5
            - g++-6
            - g++-7

            #Intel threadbuilding blocks
            - libtbb-dev

matrix:
    include:
        #Extensive testing for base compiler
        - env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-4.9
        #- env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=serial COMPILER=g++-4.9
        #- env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=tbb COMPILER=g++-4.9
        #- env: TESTS="basic mcnc20" TATUM_EXECUTION_ENGINE=cilk COMPILER=g++-4.9

        #Simple testing for other compilers
        #- env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-5
        #- env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-6
        #- env: TESTS="basic" TATUM_EXECUTION_ENGINE=auto COMPILER=g++-7

script:
    - CXX=$COMPILER make -j2
    - ./scripts/reg_test.py --tatum_test_exec build/tatum_test/tatum_test --tatum_nworkers 2 $TESTS

Use g++ instead of gcc for TravisCI
Use g++ instead of gcc for TravisCI
