Skip to content

Commit 74abeb1

Browse files
committed
Updating/fixing Travis-CI build
- Dropping Python 3.3 job from Travis build. Adding 3.6,3.7 - Adding services for postgresql and mysql
1 parent 03e21cf commit 74abeb1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
language: python
2+
23
env:
34
- DB=pgsql
45
- DB=mysql
56
- DB=sqlite
7+
8+
services:
9+
- postgresql
10+
- mysql
11+
612
python:
713
- 2.7
8-
- 3.3
914
- 3.4
1015
- 3.5
16+
- 3.6
17+
- 3.7
18+
1119
install:
1220
- pip install -U setuptools tox tox-travis
21+
1322
before_script:
1423
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres;
1524
psql -c 'create database test;' -U postgres; export DBURI='postgresql+psycopg2://postgres@localhost/test';
@@ -18,7 +27,9 @@ before_script:
1827
export DBURI='mysql+mysqldb://test@localhost/test?charset=utf8'; fi"
1928
- sh -c "if [ '$DB' = 'sqlite' ]; then export DBURI='sqlite:///%(here)s/test.sqlite';
2029
fi"
30+
2131
script: tox
32+
2233
deploy:
2334
distributions: sdist bdist_wheel
2435
provider: pypi

0 commit comments

Comments
 (0)