-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
- Loading branch information
Damien Lespiau
committed
Mar 4, 2016
1 parent
a81992b
commit ec1bea4
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
tags | ||
TAGS | ||
!.gitignore | ||
!.travis.yml | ||
|
||
# configuration files | ||
patchwork/settings/production.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
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 |