https://github.com/gboeing/osmnx
Raw File
Tip revision: 57ace577e808633bdf35a7fad31387c97ceb538f authored by Geoff Boeing on 03 July 2020, 18:47:50 UTC
Merge pull request #524 from gboeing/release
Tip revision: 57ace57
.travis.yml
dist: bionic
language: python
python:
  - 3.7
  - 3.8

before_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"
  - hash -r
  - conda config --set always_yes yes --set show_channel_urls true
  - conda update -n base conda
  - conda config --prepend channels conda-forge
  - conda create -n TEST --strict-channel-priority python=$TRAVIS_PYTHON_VERSION --file requirements.txt --file requirements-dev.txt
  - source activate TEST
  - conda info --all

install:
  - python setup.py install
  - conda list

script:
  - make -C ./docs html
  - coverage run --source osmnx -m pytest --verbose
  - flake8 .
  - pydocstyle .

after_success:
  - coverage report -m
  - coveralls
back to top