forked from Dobiasd/undictify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 868 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
language: python
matrix:
include:
- name: "3.6 Unit Test"
python: "3.6-dev"
env: exclude_file_pattern=3_7_and_up
- name: "3.7 Unit Test"
python: "3.7"
env: exclude_file_pattern=nothing
dist: xenial
sudo: true
- name: "3.8 Unit Test"
python: "3.8"
env: exclude_file_pattern=nothing
dist: xenial
sudo: true
install:
- python3 -m pip install pylint
- python3 -m pip install mypy
- python3 -m pip install .
script:
- python3 --version
- find undictify -iname "*.py" | grep -v -e "__init__.py" -e ${exclude_file_pattern} | xargs -L 1 pylint
- find undictify -iname "*.py" | grep -v -e "__init__.py" -e ${exclude_file_pattern} | xargs -L 1 mypy --strict
- find undictify -iname "*.py" | grep -v -e "__init__.py" -e ${exclude_file_pattern} | xargs -L 1 python3 -m unittest
- python3 examples/readme_examples.py