1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00
pywb/.travis.yml
Robert Knight 70a098cbd4 Enable Sauce Connect in Travis
Rather than specifying the username and encrypted
key in the Travis config, we just enable Sauce Connect
and require SAUCE_USERNAME and SAUCE_ACCESS_KEY env vars
to be set.

This is so that the Karma tests have the same env vars
available to them which they can use to check whether
to run against Sauce Labs or not.
2015-11-26 11:10:38 +00:00

38 lines
603 B
YAML

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