forked from BenevolentAI/guacamol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (22 loc) · 799 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
language: python
python:
- "3.6"
before_install:
# download and install miniconda (for convenience)
- 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:
- pip install -r dockers/requirements.txt # install testing requirements
- pip install . # install guacamol benchmark
script:
# Style guide enforcement
- flake8 guacamol && flake8 tests
# Static typing enforcement
- mypy guacamol && mypy tests
# Test suite
- python -m pytest tests