forked from pyiron/pyiron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (42 loc) · 1.6 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: 'cmd /E:ON /V:ON /C .\tools\appveyor\run_with_env.cmd'
PROJECT_NAME: pyiron
matrix:
- PYTHON_VERSION: 2.7
CONDA: C:\Miniconda
- PYTHON_VERSION: 3.7
CONDA: C:\Miniconda37
version: '{build}'
image: Visual Studio 2015
# For testing only...
#skip_non_tags: true
platform:
- x64
init:
- ps: if ($Env:PLATFORM -eq "x64") { $Env:CONDA = "${Env:CONDA}-x64" }
- ps: Write-Host $Env:PYTHON_VERSION
- ps: Write-Host $Env:CONDA
- ps: Write-Host $Env:PLATFORM
- ps: Write-Host $Env:APPVEYOR_REPO_TAG
- ps: Write-Host $Env:APPVEYOR_REPO_TAG_NAME
- ps: Write-Host $Env:APPVEYOR_REPO_NAME
install:
# Make sure the compiler is accessible
- '"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%'
# Load the conda root environment, configure and install some packages
- '"%CONDA%\Scripts\activate.bat"'
- "conda config --set always_yes yes --set changeps1 no"
- "conda update -q conda"
- "conda install -c conda-forge python=%PYTHON_VERSION% dill future psutil pytables numpy lxml scipy cycler pyparsing kiwisolver matplotlib Werkzeug itsdangerous flask sqlalchemy pathlib2 pandas h5py coveralls coverage \"ase>=3.16\" spglib h5io phonopy defusedxml pysqa tqdm"
- "conda info -a"
- "pip install --pre ."
build: false
test_script:
# Build the package
- "python .ci_support/pyironconfig.py"
- "cat C:/Users/appveyor/.pyiron"
- "python -m unittest discover tests"