1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/.travis.yml
Robert Knight f4a43a14f5 Add tests for the client-side part of pywb using Karma
* Add a Karma configuration for unit/integration tests
   for the client-side pywb code.

 * Add an integration test suite which creates an <iframe> loads
   the client-side rewriting code (wombat.js) in it and
   then executes a test script.

   Since wombat.js monkey-patches the DOM and the exact behavior
   of DOM objects varies between browsers, which we want to test,
   the suite does not mock the DOM but instead runs
   a set of tests in an isolated environment against
   the DOM.

 * Add Travis config to run the Karma tests
2015-11-25 11:53:40 +00:00

26 lines
383 B
YAML

language: python
python:
- "2.6"
- "2.7"
os:
- linux
# - osx
sudo: false
install:
- "pip install 'argparse>=1.2.1' --allow-all-external"
- pip install boto certauth
- python setup.py -q install
- pip install coverage pytest-cov coveralls --use-mirrors
- npm install
script:
- python setup.py test
- cd karma-tests && make test
after_success:
coveralls