File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # vim ft=yaml
2+ os : linux
3+ dist : xenial
4+
5+ language : python
6+ cache : pip
7+
8+ python :
9+ - 3.5
10+ - 3.6
11+ - 3.7
12+ - 3.8
13+
14+ env :
15+ global :
16+ - CHECK_TYPE="tests"
17+ - INSTALL_DEPENDS="pip setuptools"
18+ - DEPENDS="-r min-requirements.txt"
19+
20+ before_install :
21+ - python -m pip install --upgrade pip virtualenv
22+ - virtualenv --python=python /tmp/venv
23+ - source /tmp/venv/bin/activate
24+ - python --version
25+ - python -m pip --version
26+ - python -m pip install --upgrade $INSTALL_DEPENDS
27+ - python -m pip --version
28+
29+ install :
30+ - if [ -n "$DEPENDS" ]; then python -m pip install $DEPENDS; fi
31+ - python -m pip install .
32+ - python -c "import sdcflows; print(sdcflows.__version__)"
33+
34+ before_script :
35+ - travis_retry python -m pip install "sdcflows[$CHECK_TYPE]"
36+
37+ script :
38+ - pytest -n 2 -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules sdcflows
39+
40+ after_script :
41+ - python -m pip install codecov
42+ - python -m codecov --flags travis --file cov.xml -e $TRAVIS_JOB_NUMBER
You can’t perform that action at this time.
0 commit comments