https://github.com/maxscheurer/cppe
Raw File
Tip revision: 7d9a3ae59c3de9b7d39c22b6081a616e027a9e5a authored by Maximilian Scheurer on 15 February 2019, 11:58:33 UTC
removed field initializers and docs
Tip revision: 7d9a3ae
.travis.yml
sudo: required
language: cpp
dist: trusty

python:
  - "3.6"

compiler:
  - gcc

addons:
 apt:
   sources:
     - ubuntu-toolchain-r-test
   packages:
     - g++-8
     - gcc-8
     - gfortran-8
     - python3-pip

env:
 - CC=gcc-8 && CXX=g++-8 && FC=gfortran-8 && PYTHONPATH=$PYTHONPATH:$(pwd)/build/stage/lib

before_script:
  - sudo pip3 install pytest numpy
  - sudo pip3 install h5py
  - mkdir build
  - cd build
  - cmake -DBUILD_SHARED_LIBS=on -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -DCMAKE_Fortran_COMPILER=$FC ..

script:
  - cmake --version
  - make
  - cd ..
  - pytest
back to top