1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/.travis.yml
Robert Knight a153ada08e Configure Travis to make Firefox available for Karma tests
For some Karma tests, we can run them faster by running
against a local browser in the Travis CI instance rather
than Sauce Labs.

This is also useful for:

 - Contributors wishing to run
   the Travis tests against their own forks and have not
   set up Sauce Labs credentials.

 - Running Karma tests against Pull Request builds where
   Sauce Connect is not available.
2015-11-26 11:09:41 +00:00

35 lines
572 B
YAML

language: python
python:
- "2.6"
- "2.7"
os:
- linux
cache:
directories:
- $HOME/.cache/pip
- node_modules
sudo: false
install:
- "pip install 'argparse>=1.2.1' --allow-all-external"
- pip install boto certauth
- pip install git+https://github.com/esnme/ultrajson.git
- python setup.py -q install
- pip install coverage pytest-cov coveralls --use-mirrors
- npm install
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- python setup.py test
- cd karma-tests && make test
after_success:
coveralls