forked from MetricsGrimoire/MailingListStats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 763 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: python
#env:
# - DB=pgsql
# - DB=mysql
python:
- "2.7"
install:
- pip install psycopg2 MYSQL-python
- pip install mock nose nose-cov
#before_script:
# - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS mlstats;' -U postgres; fi"
# - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database mlstats;' -U postgres; fi"
# - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS mlstats'; fi"
script: nosetests -sv --with-coverage --cover-package=pymlstats pymlstats
after_success:
# Report coverage results to coveralls.io
- pip install coveralls
- coveralls
#notifications:
# irc:
# channels:
# - "irc.freenode.org#metrics-grimoire"
# on_success: change