forked from Kotti/Kotti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 928 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
sudo: false
python:
- "2.6"
- "2.7"
env:
- KOTTI_TEST_DB_STRING=postgresql://postgres@localhost:5432/kotti_testing
- KOTTI_TEST_DB_STRING=mysql+oursql://root@localhost:3306/kotti_testing
- KOTTI_TEST_DB_STRING=sqlite://
install:
- travis_retry pip install "pip==1.3.1" # fix issue with fanstatic==1.0a
- travis_retry pip install "setuptools>=17.1" # fix issue with mock==1.3.0
- travis_retry pip install -e . -r requirements.txt --use-mirrors
- pip uninstall -y Kotti
- python setup.py develop
- python setup.py dev
- travis_retry pip install psycopg2 oursql python-coveralls codecov
before_script:
- psql -c 'create database kotti_testing;' -U postgres
- mysql -e 'create database kotti_testing;'
script:
- py.test --runslow --tb=native --cov=kotti --cov-report=term-missing
after_success:
- coveralls
- codecov
notifications:
irc: "irc.freenode.org#kotti"
email: false