#!/bin/bash
set -ev

if [ "${COMPONENT}" == "game-server" ]; then
    export CXX=g++
    cd game-server
    mkdir -p build && cd build
    cmake -DTEST=ON ..
    make build-tests
    make test ARGS=-VV
fi

#!/bin/bash
set -ev

if [ "${COMPONENT}" == "game-server" ]; then
    export CXX=g++-5
    cd game-server
    mkdir -p build && cd build
    cmake -DTEST=ON ..
    make build-tests
    make test ARGS=-VV
fi

Change g++ back to g++-5
Change g++ back to g++-5
