Files
PyRIGS/.travis.yml
2016-08-09 13:18:23 +01:00

34 lines
713 B
YAML

language: python
python:
"2.7"
addons:
apt:
packages:
- nodejs
before_install:
- "export DISPLAY=:99.0"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- npm config set spin false
- npm install bower
- bower --version
- npm install phantomjs-prebuilt
- phantomjs --version
install:
- pip install -r requirements.txt
- pip install coveralls codeclimate-test-reporter
- npm install
- bower install
before_script:
- python manage.py collectstatic --noinput
script:
- coverage run manage.py test RIGS
after_success:
- coveralls
- codeclimate-test-reporter