Skip to content

Commit 538baf1

Browse files
try to fix windows build test
1 parent e340b1a commit 538baf1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ cache:
3737
- $HOME/.cache/pip
3838
- .pytest_cache
3939
install:
40+
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then python3 -m pip install --upgrade pip ; fi
41+
- if [ "$TRAVIS_OS_NAME" != "windows" ]; then pip3 install --upgrade pip ; fi
4042
- pip3 install pytest
4143
- pip3 install pytest-cov
4244
- pip3 install codacy-coverage
43-
- pip3 install --upgrade pip
4445
- pip3 install -r requirements.txt
4546
script:
4647
- pytest -v --cov --cov-report xml

0 commit comments

Comments
 (0)