Skip to content

Commit 531b262

Browse files
authored
added test dir and unittest script
1 parent 0ddb779 commit 531b262

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.travis.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
language: python
2+
3+
# python versioning
24
python:
3-
- "2.7"
4-
5+
- 2.7
6+
7+
# requirements
58
install:
69
- pip install -r requirements.txt
10+
11+
# environments to use for tests (below)
12+
env:
13+
- TEST_DIR = cmapPy/pandasGEXpress/tests
14+
- TEST_DIR = cmapPy/set_io/tests
15+
16+
# which tests to run
17+
script: cd $TEST_DIR && python -m unittest discover -p "test_*.py"
18+
19+
# what branches of github to use
20+
branches:
21+
only:
22+
- master

0 commit comments

Comments
 (0)