44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
shallow_clone: true
 | 
						|
 | 
						|
platform:
 | 
						|
    - x64
 | 
						|
 | 
						|
environment:
 | 
						|
    matrix:
 | 
						|
        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
 | 
						|
          MINICONDA_DIRNAME: C:\Miniconda38-x64
 | 
						|
          CONDA_SHELL: powershell
 | 
						|
        - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
 | 
						|
          OS: Linux
 | 
						|
          CONDA_SHELL: bash
 | 
						|
        - APPVEYOR_BUILD_WORKER_IMAGE: macOS
 | 
						|
          OS: MacOSX
 | 
						|
          CONDA_SHELL: zsh
 | 
						|
 | 
						|
    ANACONDA_TOKEN:
 | 
						|
        secure: $(anaconda_token)
 | 
						|
 | 
						|
init:
 | 
						|
    - cmd: set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
 | 
						|
    - sh: curl -sL https://repo.anaconda.com/miniconda/Miniconda3-latest-$OS-x86_64.sh > miniconda.sh
 | 
						|
    - sh: bash miniconda.sh -b -p $HOME/miniconda;
 | 
						|
    - sh: export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH";
 | 
						|
 | 
						|
install:
 | 
						|
    - conda config --set always_yes yes --set changeps1 no
 | 
						|
    - conda update -q conda
 | 
						|
    - conda init $CONDA_SHELL
 | 
						|
    - conda env create -f environment.yml
 | 
						|
    - conda activate cadquery
 | 
						|
    - pip install git+https://github.com/CadQuery/OCP-stubs.git@7.5.1
 | 
						|
 | 
						|
build: false
 | 
						|
 | 
						|
test_script:
 | 
						|
    - black . --diff --check
 | 
						|
    - mypy cadquery
 | 
						|
    - pytest -v --cov
 | 
						|
 | 
						|
on_success:
 | 
						|
    - codecov
 |