Skip to content

Commit

Permalink
TST: Create .travis.yml (#20)
Browse files Browse the repository at this point in the history
Introduce travis CI
  • Loading branch information
sbrugman committed Sep 22, 2020
1 parent b2588f2 commit 90eed7b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
sudo: required
dist: bionic
language: python
cache: pip

python:
- '3.6'
- '3.7'
- '3.8'

env:
- PANDAS="<1"
- PANDAS="==1.0.5"
- PANDAS=">1.1.0"


before_install:
- python -m pip install --upgrade pip setuptools wheel
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- pip install "pandas$PANDAS"

install:
- check-manifest
- python setup.py sdist bdist_wheel
- twine check dist/*
- pip install -e .

script:
- pytest tests/

0 comments on commit 90eed7b

Please sign in to comment.