Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement AppVeyor for PDAL/Python repository (#25)
* add appveyor config * point to scripts * need cython and packaging * add appveyor badge
- Loading branch information
Showing
5 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: 1.0.{build} | ||
|
||
os: Visual Studio 2015 | ||
|
||
platform: x64 | ||
|
||
|
||
matrix: | ||
fast_finish: true | ||
|
||
# Should speed up repository cloning | ||
# | ||
shallow_clone: true | ||
clone_depth: 5 | ||
|
||
#init: | ||
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
#on_finish: | ||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
cache: | ||
C:\Miniconda3-x64\pkgs -> appveyor.yml | ||
|
||
install: | ||
- call scripts\\appveyor\\config.cmd | ||
|
||
build_script: | ||
- call scripts\\appveyor\\build.cmd | ||
|
||
test_script: | ||
- call scripts\\appveyor\\test.cmd | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
call "%CONDA_ROOT%\Scripts\activate.bat" base | ||
call conda install -c conda-forge -y pdal cython packaging | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 | ||
|
||
python setup.py build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
|
||
set "CONDA_ROOT=C:\Miniconda3-x64" | ||
set PATH=%CONDA_ROOT%;%CONDA_ROOT%\\scripts;%CONDA_ROOT%\\Library\\bin;%PATH%;C:\\Program Files (x86)\\CMake\\bin | ||
conda config --set always_yes yes | ||
conda config --add channels conda-forge | ||
conda config --set auto_update_conda no | ||
conda config --set channel_priority true | ||
conda update -q --all | ||
conda info | ||
python -c "import sys; print(sys.version)" | ||
python -c "import sys; print(sys.executable)" | ||
python -c "import sys; print(sys.prefix)" | ||
|
||
dir | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
call "%CONDA_ROOT%\Scripts\activate.bat" base | ||
|
||
python setup.py test |