Skip to content

Commit 2a6fe40

Browse files
anti-socialvmagamedov
authored andcommitted
Added config to run tests on travis-ci.com
1 parent 16950fe commit 2a6fe40

File tree

2 files changed

+63
-9
lines changed

2 files changed

+63
-9
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
sudo: false
2+
3+
language: python
4+
5+
python:
6+
- "2.7"
7+
- "3.4"
8+
- "pypy"
9+
10+
env:
11+
- SQLA_VERSION=0.9
12+
- SQLA_VERSION=1.0
13+
- SQLA_VERSION=1.1
14+
- SQLA_VERSION=dev
15+
16+
install:
17+
- pip install tox-travis
18+
- pip install codecov
19+
20+
script:
21+
- tox
22+
23+
after_success:
24+
- codecov

tox.ini

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,83 @@
22
commands =
33
python -m unittest tests
44

5-
[testenv:py27sqla-09]
5+
[travis]
6+
python =
7+
2.7: py27
8+
3.4: py34
9+
pypy: pypy
10+
11+
[travis:env]
12+
SQLA_VERSION =
13+
0.9: sqla09
14+
1.0: sqla10
15+
1.1: sqla11
16+
dev: sqladev
17+
18+
[testenv:py27-sqla09]
619
basepython = python2.7
720
deps =
821
mock
922
https://github.com/zzzeek/sqlalchemy/archive/rel_0_9.zip
1023

11-
[testenv:py27sqla-10]
24+
[testenv:py27-sqla10]
1225
basepython = python2.7
1326
deps =
1427
mock
1528
https://github.com/zzzeek/sqlalchemy/archive/rel_1_0.zip
1629

17-
[testenv:py27sqla-dev]
30+
[testenv:py27-sqla11]
31+
basepython = python2.7
32+
deps =
33+
mock
34+
https://github.com/zzzeek/sqlalchemy/archive/rel_1_1.zip
35+
36+
[testenv:py27-sqladev]
1837
basepython = python2.7
1938
deps =
2039
mock
2140
https://github.com/zzzeek/sqlalchemy/archive/master.zip
2241

23-
[testenv:py34sqla-09]
42+
[testenv:py34-sqla09]
2443
basepython = python3.4
2544
deps =
2645
https://github.com/zzzeek/sqlalchemy/archive/rel_0_9.zip
2746

28-
[testenv:py34sqla-10]
47+
[testenv:py34-sqla10]
2948
basepython = python3.4
3049
deps =
3150
https://github.com/zzzeek/sqlalchemy/archive/rel_1_0.zip
3251

33-
[testenv:py34sqla-dev]
52+
[testenv:py34-sqla11]
53+
basepython = python3.4
54+
deps =
55+
https://github.com/zzzeek/sqlalchemy/archive/rel_1_1.zip
56+
57+
[testenv:py34-sqladev]
3458
basepython = python3.4
3559
deps =
3660
https://github.com/zzzeek/sqlalchemy/archive/master.zip
3761

3862

39-
[testenv:pypysqla-09]
63+
[testenv:pypy-sqla09]
4064
basepython = pypy
4165
deps =
4266
mock
4367
https://github.com/zzzeek/sqlalchemy/archive/rel_0_9.zip
4468

45-
[testenv:pypysqla-10]
69+
[testenv:pypy-sqla10]
4670
basepython = pypy
4771
deps =
4872
mock
4973
https://github.com/zzzeek/sqlalchemy/archive/rel_1_0.zip
5074

51-
[testenv:pypysqla-dev]
75+
[testenv:pypy-sqla11]
76+
basepython = pypy
77+
deps =
78+
mock
79+
https://github.com/zzzeek/sqlalchemy/archive/rel_1_1.zip
80+
81+
[testenv:pypy-sqladev]
5282
basepython = pypy
5383
deps =
5484
mock

0 commit comments

Comments
 (0)