- extended math_libs.cmake for C headers detection - static_linking tests included - rearranged math-libs order for better libraries detection - no int64 for cc_lapack - added include/ directory to %path% to detect clapack.h in appveyor - simplified C-code, intendations kept - travis-ci kept simple, but needs liblapack-dev and libatlas-base-dev - libatlas-dev can not be installed due to repeating xerba objects in *.a lib files
40 lines
988 B
YAML
40 lines
988 B
YAML
sudo: false
|
|
language: cpp
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# Compilers
|
|
- g++
|
|
- gfortran
|
|
- cmake
|
|
# Libraries for static linking
|
|
- binutils-gold
|
|
- libc6-dev
|
|
- libpthread-stubs0-dev
|
|
# Math libraries : SYSTEM_NATIVE-static/dynamic and ATLAS-dynamic only
|
|
# do not install libatlas-dev due to conflicts of repeating xerbla in *.a lib files
|
|
- libblas-dev
|
|
- liblapack-dev
|
|
- libatlas-base-dev
|
|
# MPI
|
|
- openmpi-bin
|
|
- libopenmpi-dev
|
|
# Python library, development version
|
|
- libpython2.7
|
|
before_script:
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
# PEP8 and py.test
|
|
- pip install pytest pep8 --user `whoami`
|
|
script:
|
|
# test PEP8 conformity
|
|
- pep8 --ignore=E501 update.py
|
|
- pep8 --ignore=E501 test/test.py
|
|
- pep8 --ignore=E501 lib/config.py
|
|
# run unit tests
|
|
- py.test -vv update.py
|
|
- py.test -vv test/test.py
|
|
- py.test -vv lib/config.py
|
|
|
|
notifications:
|
|
email: false
|