Skip to content

Commit

Permalink
added travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
jtramm committed Jul 31, 2019
1 parent 503ddd9 commit 4a60a9a
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4a60a9a

Please sign in to comment.