forked from FedericoCeratto/bottle-cork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (25 loc) · 938 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
29
language: python
python:
- "2.6"
- "2.7"
# - "3.2" Temporary disabling Python3
install:
- pip install -e . --use-mirrors
- pip install MySQL-python --use-mirrors
- pip install SQLAlchemy --use-mirrors
- pip install coveralls --use-mirrors
- pip install flask --use-mirrors
- pip install pymongo --use-mirrors
- pip install scrypt --use-mirrors
- pip install webtest --use-mirrors
before_script:
- mysql -e 'create database myapp_test;' # username: "root", password: ""
#- mongo mydb_test --eval 'db.addUser("travis", "test");'
script:
- nosetests tests/test.py tests/test_functional_mysql_instance.py tests/test_functional_mongodb_instance.py
- coverage run --source=cork tests/test_webtest_decorated.py tests/test_functional_mongodb_instance.py tests/test_functional_sqlalchemy_sqlite_in_memory.py tests/test_sqlite.py
services:
# MySQL is started by default
- mongodb
after_success:
- coveralls