Merge pull request #88 from CadQuery/ci-fix-pythonocc-version

Use pythonocc 0.18.1 explicitly
This commit is contained in:
Adam Urbańczyk
2019-02-06 21:22:46 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ before_install:
- export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH"; - export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH";
- hash -r; - hash -r;
- conda config --set always_yes yes --set changeps1 no; - conda config --set always_yes yes --set changeps1 no;
- conda create -y -q -n test_cq -c pythonocc -c oce -c conda-forge -c dlr-sc pythonocc-core=0.18 - conda create -y -q -n test_cq -c pythonocc -c oce -c conda-forge -c dlr-sc pythonocc-core=0.18.1
pyparsing mock; pyparsing mock;
- source ~/miniconda/bin/activate test_cq; - source ~/miniconda/bin/activate test_cq;
- python -c 'import OCC.gp as gp; print(gp.gp_Vec())' - python -c 'import OCC.gp as gp; print(gp.gp_Vec())'

View File

@ -15,7 +15,7 @@ install:
- set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%" - set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
- conda config --set always_yes yes - conda config --set always_yes yes
- conda update -q conda - conda update -q conda
- conda create --quiet --name cqtest -c cadquery -c conda-forge -c pythonocc -c oce -c conda-forge -c dlr-sc pythonocc-core=0.18 python=%PYTHON_VERSION% pyparsing mock coverage codecov - conda create --quiet --name cqtest -c cadquery -c conda-forge -c pythonocc -c oce -c conda-forge -c dlr-sc pythonocc-core=0.18.1 python=%PYTHON_VERSION% pyparsing mock coverage codecov
- activate cqtest - activate cqtest
- pip install codecov - pip install codecov
- python setup.py install - python setup.py install