1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/.travis.yml
John Berlin 2f062cf5c7 New integration tests using webrecorder-tests: (#355)
New integration tests using webrecorder-tests:
- WR_TEST=true is set for integration test run (only run with py3.6, excluded for py2.7, 3.5)
- Added .travis directory that includes two scripts: install.sh and test.sh.
- install.sh handles all installation and test.sh handles running of unit or integration tests
- sudo: true required to run headless chrome
2018-07-09 13:21:14 -07:00

51 lines
594 B
YAML

language: python
python:
- "2.7"
- "3.5"
- "3.6"
os:
- linux
addons:
apt:
packages:
# This is required to run new chrome on old trusty
- libnss3
env:
- WR_TEST=no
- WR_TEST=yes
addons:
sauce_connect: true
cache:
directories:
- $HOME/.cache/pip
- node_modules
sudo: true
install:
- ./.travis/install.sh
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- ./.travis/test.sh
after_success:
- codecov
matrix:
exclude:
- env: WR_TEST=yes
python: "2.7"
- env: WR_TEST=yes
python: "3.5"