1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/.travis.yml
Robert Knight a4d05d469f Add configuration for running client tests using Sauce Labs
This gives us the capability to test the client-side JS
rewriting against a suite of different browsers on different
platforms.

Note that getting Karma running on Travis CI requires some
additional configuration documented at
github.com/karma-runner/karma-sauce-launcher/issues/73
which is not made clear in the original documentation.

In order to run the Karma tests, the Sauce Labs username
and access keys need to be passed in via the SAUCE_USERNAME
and SAUCE_ACCESS_KEYS env vars.
2015-11-25 14:57:20 +00:00

26 lines
375 B
YAML

language: python
python:
- "2.6"
- "2.7"
os:
- linux
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