Skip to content

Commit a8b8fff

Browse files
committed
Trying to use cygwin to run sed command in Windows
1 parent 760ee65 commit a8b8fff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,15 @@ install:
4545
- conda config --set always_yes yes --set changeps1 no
4646
- conda update -q conda
4747
# - pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$PYTHON_VERSION") | Set-Content -Path environment.yml
48-
# - sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
48+
- cmd: C:\cygwin64\bin\bash --login -c "sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml"
49+
- sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
4950
- conda env create -f environment.yml
5051
- activate cadquery
5152
#- cmd: conda install -c conda-forge -c defaults -c cadquery python=%PYTHON_VERSION%
5253
#- sh: conda install -c conda-forge -c defaults -c cadquery python=$PYTHON_VERSION
5354
#- pip install black=19.10b0
54-
- cmd: conda install python=%PYTHON_VERSION%
55-
- sh: conda install python=$PYTHON_VERSION
55+
#- cmd: conda install python=%PYTHON_VERSION%
56+
#- sh: conda install python=$PYTHON_VERSION
5657
- pip install git+https://github.com/CadQuery/[email protected]
5758
#- pip install mypy
5859
#- pip install pytest

0 commit comments

Comments
 (0)