Skip to content

Commit

Permalink
Code style update (#13)
Browse files Browse the repository at this point in the history
* Code style update
* Fixing Windows errors
* Adding Windows CI
* Improving naming of tests
* Bumping version
  • Loading branch information
tdegeus committed Dec 6, 2019
1 parent 0ad2a96 commit 3de7648
Show file tree
Hide file tree
Showing 12 changed files with 449 additions and 459 deletions.
45 changes: 45 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
build: false

branches:
only:
- master

platform:
- x64

image:
- Visual Studio 2017

environment:
matrix:
- MINICONDA: C:\myname-conda

init:
- "ECHO %MINICONDA%"
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" set VCARGUMENT=%PLATFORM%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2017" set VCVARPATH="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- echo "%VCVARPATH% %VCARGUMENT%"
- "%VCVARPATH% %VCARGUMENT%"
- ps: if($env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
- ps: if($env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
- cmd: C:\Miniconda.exe /S /D=C:\myname-conda
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%"

install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda install -c conda-forge python
- conda install -c conda-forge setuptools
- conda install -c conda-forge pip
- conda install -c conda-forge docopt
- conda install -c conda-forge h5py
- python -m pip install .

build_script:
- python test/cli/G5check.py
- python test/cli/G5compare.py
- python test/cli/G5list.py
- python test/cli/G5repair.py

8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ install:
- python -m pip install .

script:
- python test/bin/G5check.py
- python test/bin/G5compare.py
- python test/bin/G5list.py
- python test/bin/G5repair.py
- python test/cli/G5check.py
- python test/cli/G5compare.py
- python test/cli/G5list.py
- python test/cli/G5repair.py

0 comments on commit 3de7648

Please sign in to comment.