forked from SCM-NV/qmflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 loc) · 1.11 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
sudo: false
language: generic
global:
env:
- COMMIT_AUTHOR_EMAIL: "[email protected]"
install:
# Install python
- 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 --set auto_update_conda False
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Install virtual enviroment
- conda create -q -n qmflows python=3.6
- conda install --name qmflows -c anaconda hdf5
- conda install --name qmflows -c rdkit rdkit
- source activate qmflows
# Install qmflows package
- pip install https://github.com/SCM-NV/plams/tarball/master#egg=plams --upgrade
- pip install .[test,doc]
script:
# Run the unitary tests excluding the expensive computations
- nosetests --with-coverage --cover-erase --cover-package=qmflows -a 'fast' --exclude='test_using_plams' -v
- echo "building gh-pages documentation"
cd doc
bash ./deploy.sh
branches:
only:
- master