-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
matrix:
include:
# direct tests of facilities written in c++
- language: cpp
os: linux
dist: bionic
compiler:
- gcc
script:
- mkdir ./cpp/tests/build
- cd ./cpp/tests/build
- cmake ..
- make
- ctest
# python tests (this includes tests of c++ code if there is a python
# interface for that code and a corresponding test)
- language: python
python: 3.7
os: linux
dist: bionic
install:
- pip install scipy
- pip install .
- pip install pytest-cov
- pip install coveralls
script:
- pytest --cov=khuri khuri/tests/
after_sucess:
- coveralls
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt update -q
- sudo apt install g++-8
- eval "CC=gcc-8 && CXX=g++-8"
- sudo apt install libgsl-dev
- sudo apt install libeigen3-dev