10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-03 20:54:00 +01:00
quantum_package/.travis.yml

39 lines
789 B
YAML

#sudo: true
#before_script:
# - sudo apt-get update -q
# - sudo apt-get install gfortran liblapack-dev gcc
# - sudo apt-get install graphviz
os: linux
dist: trusty
sudo: false
compiler: gfortran
addons:
apt:
packages:
- gfortran
- gcc
# - liblapack-dev
# - libblas-dev
- graphviz
cache:
directories:
- $HOME/.opam/
language: python
python:
- "2.6"
script:
- ./configure ./config/travis.cfg
- source ./quantum_package.rc ; qp_module.py install Full_CI Full_CI_ZMQ Hartree_Fock CAS_SD_ZMQ mrcepa0 All_singles
- source ./quantum_package.rc ; cd ~ ; install_lapack.sh ; cd $QP_ROOT
- source ./quantum_package.rc ; ninja
- source ./quantum_package.rc ; cd ocaml ; make ; cd -
- source ./quantum_package.rc ; cd tests ; ./run_tests.sh -v