1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 16:14:48 +01:00
pywb/.travis.yml
Ilya Kreymer 259f571cb9
Python 3.7 Support (#447)
* py3.7 fixes:
- add __repr__ to WBException for consistent output in py3.7
- don't raise StopIteration in generator, just return

* ci: add py3.7 builds to travis and appveyor, (don't include in integration test suite for now)
2019-02-27 08:43:33 -08:00

51 lines
631 B
YAML

language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
dist: xenial
addons:
chrome: stable
sauce_connect: true
env:
- WR_TEST=no
- WR_TEST=yes
services: xvfb
cache:
directories:
- node_modules
sudo: required
install:
- ./.travis/install.sh
before_install:
- 'if [ "$WR_TEST" = "yes" ]; then sudo sysctl kernel.unprivileged_userns_clone=1; fi'
script:
- ./.travis/test.sh
after_success:
- codecov
matrix:
allow_failures:
- env: WR_TEST=yes
exclude:
- env: WR_TEST=yes
python: "2.7"
- env: WR_TEST=yes
python: "3.5"
- env: WR_TEST=yes
python: "3.7"