-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (32 loc) · 1.16 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
language: cpp
sudo: false
matrix:
include:
- env:
- PYTHON_VER='3.7'
- MAX_DET_ORB=64
install:
- echo ${TRAVIS_BUILD_DIR}
- 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 create -q -n tenv python=$PYTHON_VER gcc_linux-64 gxx_linux-64 gfortran_linux-64 cmake mkl-devel psi4 psi4-dev ci-psi4 pybind11-headers -c psi4/label/dev
#- conda create -q -n tenv python=$PYTHON_VER cmake mkl-devel psi4 psi4-dev ci-psi4 pybind11-headers -c psi4/label/dev pybind11
- source activate tenv
before_script:
- python -V
- cat ${HOME}/miniconda/envs/tenv/share/cmake/psi4/psi4PluginCache.cmake
- cd ${TRAVIS_BUILD_DIR}
- ls
- >
cmake -H. -B.
-C${HOME}/miniconda/envs/tenv/share/cmake/psi4/psi4PluginCache.cmake
-DCMAKE_BUILD_TYPE=Debug
-DPYTHON_EXECUTABLE=${HOME}/miniconda/envs/tenv/bin/python
- make -j2
- export PYTHONPATH="${HOME}/build/evangelistalab:$PYTHONPATH"
script:
- cd ${TRAVIS_BUILD_DIR}
- python mf.py