Commit 2229e61f authored by Feth Arezki's avatar Feth Arezki

basic travis config

parent f46b5957
language: python
python:
- 2.7
- 3.2
services:
- mysql
install: pip install -r requirements.txt -r test_requirements.txt .
script: py.test
before_script:
- mysql -e 'create database egw;'
notifications:
irc:
channels:
- "irc.freenode.org#majerteam"
on_success: change
[app:autonomie]
use = egg:autonomie
pyramid.default_locale_name = fr
pyramid.includes =pyramid_tm
pyramid_layout
#### CONFIGURE THOSE LINES TO ALLOW THE TESTS TO SETUP A MYSQL DATABASE ####
sqlalchemy.url = mysql://egw:@localhost/testautonomie?charset=utf8
sqlalchemy.echo=False
sqlalchemy.encoding=UTF8
testdb.user=testautonomie
testdb.password=password
testdb.db=testautonomie
testdb.mysql_cmd=mysql --defaults-file=/etc/mysql/debian.cnf
testdb.sampledb=sample_db/dbautonomie.sql
testdb.sampledatas=sample_db/testdatas.sql
testdb.updatedir=sample_db/updates
session.longtimeout=3600
cache.regions = default_term, second, short_term, long_term
cache.type = memory
cache.second.expire = 1
cache.short_term.expire = 1
cache.default_term.expire = 1
cache.long_term.expire = 1
[pipeline:main]
pipeline =
autonomie
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