File tree 4 files changed +15
-3
lines changed
4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 8
8
- WSQL_TEST_DATABASE=wsql_test WSQL_TEST_USER=root CI_BUILD=1
9
9
10
10
before_install :
11
- - pip install coveralls coverage
11
+ - pip install -r requirements.dev.txt
12
12
13
13
install :
14
14
- pip install .
@@ -17,8 +17,7 @@ before_script:
17
17
- mysql -e 'create database wsql_test CHARACTER SET UTF8 COLLATE utf8_unicode_ci';
18
18
19
19
script :
20
- - coverage run -m unittest discover --start-directory test
21
- - coverage report -m
20
+ - ./run-tests
22
21
23
22
after_success :
24
23
- coveralls
Original file line number Diff line number Diff line change @@ -4,5 +4,7 @@ include MANIFEST
4
4
include HISTORY
5
5
inlcude README
6
6
inlcude README.rst
7
+ include requirements.dev.txt
8
+ include run-tests
7
9
recursive-include extra *
8
10
recursive-include src *.h *.c
Original file line number Diff line number Diff line change
1
+ nose
2
+ coverage
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export LOG_LEVEL=debug
4
+
5
+ exec nosetests \
6
+ --logging-format=' %(asctime)s [%(name)s] %(levelname)-6s %(message)s' \
7
+ --with-coverage \
8
+ --cover-package=wsql \
9
+
You can’t perform that action at this time.
0 commit comments