mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
* recoder fix: ensure Transfer-Encoding header is not passed through by RecorderApp, as may result in duplicate Transfer-Encoding in py2.7, fixes #432 * html rewriter fixes: - html detection: allow for UTF-8 BOM when detecting if text is html - html decl parsing: modify base parser regex to allow IE conditional declaration to also end with -->, eg. support '<![endif]-->' in addition to '<![endif]>', fixes #425 * travis: add allow failure for integration tests (for now)
48 lines
578 B
YAML
48 lines
578 B
YAML
language: python
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
- "3.6"
|
|
|
|
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"
|
|
|