forked from modin-project/modin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
111 lines (97 loc) · 3.47 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
sudo: required
language: generic
cache:
directories:
- $HOME/.cache/pip
matrix:
include:
- os: linux
dist: trusty
env:
- PYTHON=2.7
- MODIN_ENGINE=ray
- MODIN_DF_TEST=ONE
- os: linux
dist: trusty
env:
- PYTHON=2.7
- MODIN_ENGINE=ray
- MODIN_DF_TEST=TWO
- os: linux
dist: trusty
env:
- PYTHON=2.7
- MODIN_ENGINE=ray
- MODIN_DF_TEST=NONE
- os: linux
dist: trusty
env:
- PYTHON=3.6
- MODIN_ENGINE=ray
- MODIN_DF_TEST=ONE
- os: linux
dist: trusty
env:
- PYTHON=3.6
- MODIN_ENGINE=ray
- MODIN_DF_TEST=TWO
- os: linux
dist: trusty
env:
- PYTHON=3.6
- MODIN_ENGINE=ray
- MODIN_DF_TEST=NONE
- os: linux
dist: trusty
env:
- PYTHON=2.7
- MODIN_DEBUG=1
- MODIN_DF_TEST=ALL
- os: linux
dist: trusty
env:
- PYTHON=3.6
- MODIN_DEBUG=1
- MODIN_DF_TEST=ALL
- os: linux
dist: trusty
env:
- LINT=1
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- black --check modin/
- flake8 .
- os: linux
dist: trusty
env:
- PYTHON=3.6
- API_COMPAT=1
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- python -m pytest modin/pandas/test/test_api.py
- os: linux
dist: trusty
env:
- PYTHON=3.6
- MODIN_BACKEND=pyarrow
- MODIN_EXPERIMENTAL=True
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_io.py::test_from_csv --cov-append
install:
- ./ci/travis/install-dependencies.sh
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- curl -s https://codecov.io/bash > codecov.sh
- if [[ "$MODIN_DF_TEST" == "ONE" ]]; then python -m pytest -n auto --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_dataframe.py::TestDFPartOne --cov-append; bash codecov.sh; exit; fi
- if [[ "$MODIN_DF_TEST" == "TWO" ]]; then python -m pytest -n auto --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_dataframe.py::TestDFPartTwo --cov-append; bash codecov.sh; exit; fi
- if [[ "$MODIN_DF_TEST" == "ALL" ]]; then python -m pytest -n auto --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_dataframe.py --cov-append; fi
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_series.py --cov-append
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_concat.py --cov-append
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_groupby.py --cov-append
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_reshape.py --cov-append
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_general.py --cov-append
- pip install numexpr
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/pandas/test/test_io.py --cov-append
- python -m pytest --disable-pytest-warnings --cov-config=.coveragerc --cov=modin modin/experimental/pandas/test/test_io_exp.py --cov-append
- bash codecov.sh