-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (53 loc) · 2.05 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
48
49
50
51
52
53
54
sudo: false
language: python
env:
matrix:
- ODDT_TOOLKIT=ob CONDA_PY=2.7
- ODDT_TOOLKIT=ob CONDA_PY=3.4
- ODDT_TOOLKIT=ob CONDA_PY=3.5
- ODDT_TOOLKIT=ob CONDA_PY=3.6
- ODDT_TOOLKIT=rdk CONDA_PY=2.7
- ODDT_TOOLKIT=rdk CONDA_PY=3.4
- ODDT_TOOLKIT=rdk CONDA_PY=3.5
global:
secure: OVE5GtJJ2Ga+GDJIFuyPsbJ5SFCecdbiPv6TzrdNT6AoMdjEZK/zw1ZRHNtMHvrPbq5G7qY/54tHEePSKJlm7pi8agYPbTAg3pPvUvFfmyoQm4Vg07BEULKJ9wfgNI2c+IsMp77r1hW+04+HpwMT81p/zYndVcuhvj7C7vJ0hgo=
deploy:
# pypi
- provider: pypi
user: mwojcikowski
password:
secure: Y1+kPOAjQhFZW9N25q8StT5TFvJiUhecTbmpHIlGzlPi/L/RUE8txXXI5e7o4lD0bz5pqDtoKwF8Nas2VQJGS/dE0lkjmsDR/cQdjoSd88BflhxaqlvL6L2fVmIZ2RWXXmrlE6s/Obw1JpMjtzhCGk0ywe306Z1NVkj1VEURIlc=
distributions: sdist bdist_wheel egg_info
on:
tags: true
repo: oddt/oddt
branch: master
# conda
- provider: script
script: conda/deploy.sh
on:
tags: true
repo: oddt/oddt
branch: master
skip_cleanup: true
install:
- 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"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -q conda-build anaconda-client
- conda info -a
- conda create -q -n test-environment python=$CONDA_PY nose numpydoc six scipy numpy scipy scikit-learn joblib pandas coverage pillow
- source activate test-environment
- if [[ "$ODDT_TOOLKIT" == "ob" ]]; then conda install -q -c openbabel openbabel; fi
- if [[ "$ODDT_TOOLKIT" == "rdk" ]]; then conda install -q -c rdkit rdkit; fi
- conda install -q -c bioconda autodock-vina
- pip install coveralls
- python setup.py install
script:
- nosetests --with-coverage --cover-package oddt -v --nocapture
- oddt_cli --help
- oddt_cli tests/data/dude/xiap/crystal_ligand.sdf -osmi
after_success:
- coveralls