-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
47 lines (44 loc) · 1.08 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
37
38
39
40
41
42
43
44
45
46
47
language: cpp
dist: trusty
matrix:
include:
- os: linux
compiler: clang
addons: &1
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- liblapack-dev
- clang-5.0
- libhdf5-serial-dev
- g++-4.9
env:
- CXX_COMPILER='clang++-5.0'
- PYTHON_VER='3.6'
- C_COMPILER='clang-5.0'
- BUILD_TYPE='Debug'
- NAME='clang'
- VERSION='5.0'
script:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n qforte python=$PYTHON_VER numpy cmake
- source activate qforte
- python -V
- cd ${TRAVIS_BUILD_DIR}
- export CXX=${CXX_COMPILER}
- ${CXX_COMPILER} --version
- cd ${HOME}/build/evangelistalab/qforte
- python setup.py build
- cd tests
- pytest
after_success:
- codecov