language: c++

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

compiler:
    #- gcc
    #- clang
    - gcc-4.9
    #- gcc-5
    #- gcc-6
    #- gcc-7

env:
    #- TATUM_EXECUTION_ENGINE=auto
    #- TATUM_EXECUTION_ENGINE=serial
    #- TATUM_EXECUTION_ENGINE=tbb
    #- TATUM_EXECUTION_ENGINE=cilk

script:
    - make -j2
    - ./scripts/reg_test.py --tatum_test_exec build/tatum_test/tatum_test --tatum_nworkers 2 basic mcnc20

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

Tweak Travis CI settings to override default compiler
Tweak Travis CI settings to override default compiler
