-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
31 lines (31 loc) · 971 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
30
31
dist: trusty
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy3"
matrix:
include:
- python: 3.8
dist: xenial
- python: 3.9
dist: xenial
- python: pypy
dist: xenial
- python: pypy3
dist: xenial
services: mongodb
before_install:
- pip install --upgrade pip setuptools
install:
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then pip install "tinydb<4"; fi
- pip install "pymongo<3.13"
- pip install -r requirements.py2.txt
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi
env:
- PIP_TRUSTED_HOST="pypi.python.org pypi.org files.pythonhosted.org" ADAPTER=mongo
- PIP_TRUSTED_HOST="pypi.python.org pypi.org files.pythonhosted.org" ADAPTER=tiny
script: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coverage run --source=appier_extras setup.py test; else python setup.py test; fi
after_success: if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then coveralls; fi