Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,30 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then pip install -r requirements.txt; fi
script:
- python -m unittest test_asserts
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then mypy asserts test_asserts.py; fi
- if test `python --version 2>&1 | cut -d " " -f 2 | cut -d "." -f 1` = 3; then python -m doctest asserts/__init__.py; fi
jobs:
include:
- stage: test
python: 2.7
dist: trusty
sudo: false
- stage: test
python: 3.4
dist: trusty
sudo: false
- stage: test
python: 3.5
dist: trusty
sudo: false
- stage: test
python: 3.6
dist: trusty
sudo: false
- stage: test
python: 3.7
dist: xenial
sudo: true

1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def read(fname):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
],
Expand Down