forked from BenevolentAI/guacamol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 853 Bytes
/
.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
language: python
python:
# Actually not needed since rdkit installation with conda overwrites it
- "3.6"
before_install:
# download and install miniconda
- wget http://repo.continuum.io/miniconda/Miniconda3-4.1.11-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/conda
- export PATH="$HOME/conda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -n test_env python=$TRAVIS_PYTHON_VERSION pip cmake
- source activate test_env
install:
# install the most recent rdkit package from the RDKit anaconda channel.
- conda install -q -c rdkit rdkit
- pip install -r requirements.txt
script:
# Style guide enforcement
- flake8 guacamol && flake8 tests
# Static typing enforcement
- mypy guacamol && mypy tests
# Test suite
- python -m pytest tests