forked from cmap/cmapPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (44 loc) · 1.54 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# set language
language: python
# requirements
install:
- pip install -r requirements.txt
- python setup.py develop
matrix:
include:
# run pandasGEXpress python2_tests
- python: "2.7"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/pandasGEXpress/tests/python2_tests/
# run pandasGEXpress python3_tests
- python: "3.6"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/pandasGEXpress/tests/python3_tests/
# run set_io tests for python2
- python: "2.7"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/set_io/tests/
# run set_io tests for python3
- python: "3.6"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/set_io/tests/
# run math tests for python2
- python: "2.7"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/math/tests/
# run math tests for python3
- python: "3.6"
script:
- python -m unittest discover -p "test_*.py" -s cmapPy/math/tests/
# run python2_python3_comaptibility tests for python2
- python: "2.7"
script:
- python -m unittest discover -p "test_python2_python3_*.py" -s cmapPy/pandasGEXpress/tests/
# run python2_python3_comaptibility tests for python3
- python: "3.6"
script:
- python -m unittest discover -p "test_python2_python3_*.py" -s cmapPy/pandasGEXpress/tests/
# what branches of github to use
branches:
only:
- master