From 30dabc3500afa473314da4e3a692ea8923596c95 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Mon, 6 Jul 2020 11:09:26 +0200 Subject: [PATCH] Add Travis-CI build instructions --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5c0674e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +os: linux +dist: bionic + +language: python +python: 3.7 + + +env: + - BUILD_SHARED_LIBS=false + - BUILD_SHARED_LIBS=true + +addons: + apt: + packages: + - cmake + - gfortran + - libblas-dev + - liblapack-dev + - libopenmpi-dev + +install: + - pip install fypp + +script: + - mkdir -p _build && pushd _build && cmake -DMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} .. && make -j