Commit ec1bea49 authored by Damien Lespiau's avatar Damien Lespiau

tests: Add travis file

Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
parent a81992b9
......@@ -15,6 +15,7 @@
tags
TAGS
!.gitignore
!.travis.yml
# configuration files
patchwork/settings/production.py
......
language: python
python:
- 2.7
cache: pip
addons:
apt:
packages:
- libmysqlclient-dev
services:
- mysql
install:
- npm install jshint
- npm install karma
- npm install karma-jasmine
- npm install karma-firefox-launcher
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
before_script:
- mysql -e 'create database patchwork;'
- export SELENIUM_BROWSER=firefox
- export PW_TEST_DB_USER=travis
- export PW_TEST_DB_PASS=""
script: ./tests/test_all.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment