File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
+
2
3
env :
3
4
- DB=pgsql
4
5
- DB=mysql
5
6
- DB=sqlite
7
+
8
+ services :
9
+ - postgresql
10
+ - mysql
11
+
6
12
python :
7
13
- 2.7
8
- - 3.3
9
14
- 3.4
10
15
- 3.5
16
+ - 3.6
17
+ - 3.7
18
+
11
19
install :
12
20
- pip install -U setuptools tox tox-travis
21
+
13
22
before_script :
14
23
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS test;' -U postgres;
15
24
psql -c 'create database test;' -U postgres; export DBURI='postgresql+psycopg2://postgres@localhost/test';
@@ -18,7 +27,9 @@ before_script:
18
27
export DBURI='mysql+mysqldb://test@localhost/test?charset=utf8'; fi"
19
28
- sh -c "if [ '$DB' = 'sqlite' ]; then export DBURI='sqlite:///%(here)s/test.sqlite';
20
29
fi"
30
+
21
31
script : tox
32
+
22
33
deploy :
23
34
distributions : sdist bdist_wheel
24
35
provider : pypi
You can’t perform that action at this time.
0 commit comments