From 4a60a9a403101e18fed93e6a0126141b414ccf80 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Wed, 31 Jul 2019 14:59:53 -0500 Subject: [PATCH] added travis file --- .travis.yml | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c44a6c8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,77 @@ +language: c +matrix: + include: + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.9 + env: + - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-5 + env: + - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-6 + env: + - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-7 + env: + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-8 + env: + - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" + + - os: linux + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-9 + env: + - MATRIX_EVAL="CC=gcc-9 && CXX=g++-9" + +before_install: + - eval "${MATRIX_EVAL}" + +script: + - echo $CC + - $CC --version + - cd openmp-threading + - make + - ./rsbench -s small -t 4 + - ./rsbench -s small -t 4 + - ./rsbench -s small -t 4 + - ./rsbench -s small -t 4 + - ./rsbench -s small -t 4 + - ./rsbench -s small -t 4