forked from jmespath/jmespath.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (30 loc) · 816 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
dist: trusty
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
# Enable 3.7 without globally enabling dist: xenial for other build jobs
matrix:
include:
- python: "3.7"
dist: xenial
- python: "3.8"
dist: xenial
before_install:
- pip install codecov
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; pip install -r requirements26.txt; fi
- "rm -rf dist/*"
- pip install -r requirements.txt
- python setup.py bdist_wheel
- pip install dist/*.whl
script:
- cd tests/ && nosetests --with-coverage --cover-package jmespath .
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]] && [[ $TRAVIS_PYTHON_VERSION != '3.8' ]]; then JP_MAX_EXAMPLES=10000 nosetests ../extra/test_hypothesis.py; fi
after_success:
- codecov