Skip to content

Commit 8ed8685

Browse files
committed
Try to fix win python path
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Date: Tue Dec 10 16:56:18 2019 +0000 # # On branch 2.0.3 # Your branch is up to date with 'origin/2.0.3'. # # Changes to be committed: # modified: .travis.yml # # Changes not staged for commit: # modified: vro_package_diff/vro_element.py #
1 parent 37d0416 commit 8ed8685

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.travis.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ matrix:
88
fast_finish: true
99

1010
install:
11-
- pip install .
11+
- pip install .
1212

1313
script:
14-
- which vro-diff
1514
- vro-diff --help
1615
- vro-diff --legend ./tests/data/package_v1.0.package ./tests/data/package_v1.1.package
1716
- vro-diff --test ./tests/data/package_v1.0.package ./tests/data/package_v1.1.package || if [[ $? -eq 3 ]]; then true; else false; fi
@@ -27,19 +26,18 @@ jobs:
2726
dist: bionic
2827
- python: 3.8-dev
2928
dist: bionic
30-
- name: Python 3.7 on Windows
29+
- name: Python 3.x on Windows
3130
os: windows
32-
language: shell
31+
language: bash
3332
before_install:
34-
- choco install python
35-
- python -m pip install --upgrade pip
33+
- choco install python3 --params "/InstallDir:C:\\Python"
34+
- export PATH="/c/Python:/c/Python/Scripts:$PATH"
3635
env:
37-
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
3836
- PYTHONIOENCODING=utf-8
3937
- name: Python 3.7 on macOS
4038
os: osx
4139
osx_image: xcode10.2
42-
language: shell
40+
language: bash
4341
before_install:
4442
- python3 -m pip install --upgrade virtualenv
4543
- virtualenv -p python3 --system-site-packages "$HOME/venv"

0 commit comments

Comments
 (0)