version: ~> 1.0

os: linux
dist: bionic

language: python
python:
    - 3.6
    - 3.7
    - 3.8
    - 3.9
install:
    - pip install -r requirements.txt -r requirements-dev.txt
    - nvm install 10
    - nvm use 10
    - npm install
script:
    - pytest --cov=.
after_success:
    - codecov
cache:
    pip: true
    directories:
        - node_modules

