.travis.yml 592 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
language: cpp

before_install:
 - echo "yes" | sudo add-apt-repository ppa:kalakris/cmake #https://github.com/travis-ci/travis-ci/issues/2212
 - sudo apt-get update
 - sudo apt-get install libfftw3-dev libopenmpi-dev libx11-dev zlib1g-dev libgsl0-dev libxml2-dev libblas-dev liblapack-dev libboost-dev cmake

env:
  matrix:
    - GMX_DOUBLE=OFF GMX_MPI=OFF
    - GMX_DOUBLE=OFF GMX_MPI=ON
    - GMX_DOUBLE=ON  GMX_MPI=OFF
    - GMX_DOUBLE=ON  GMX_MPI=ON

script: 
  - mkdir build && pushd build && cmake -DGMX_DOUBLE=$GMX_DOUBLE -DGMX_MPI=$GMX_MPI .. && make -j4

compiler:
  - clang
  - gcc