add cmake build to travis
@@ -102,6 +102,34 @@ matrix:
- sudo apt-get install -qq --no-install-recommends cuda-drivers cuda-core-7.5 cuda-cudart-dev-7.5 cuda-cufft-dev-7.5 cuda-cublas-dev-7.5
- sudo apt-get install -qq liblapacke-dev
+ - env: PARALLEL=1
+ os: linux
+ compiler: gcc
+ sudo: required
+ dist: trusty
+ addons:
+ apt:
+ packages:
+ - *default_packages
+ before_install:
+ - sudo apt-get update -qq
+ - sudo apt-get install -qq liblapacke-dev
+ script:
+ - mkdir build && cd build
+ - export FC=$(which gfortran)
+ - CC=gcc CXX=g++ cmake -DCMAKE_Fortran_COMPILER:FILEPATH=${FC} -DLINALG_VENDOR=LAPACKE -DLAPACKE_DIR=/usr/lib/ ..
+ - make
+
+ - env: MACPORTS=0
+ os: osx
+ compiler: gcc-4.7
+ script:
+ - make test
+ - make utest
+ before_install:
+ - brew update
+ - brew install fftw gcc47 homebrew/science/openblas
+
script:
- make bart
- make all
