-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
53 lines (43 loc) · 1.58 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
53
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 3.2.0.build{build}
image:
- Visual Studio 2015
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: "C:\\Miniconda"
MINGW_BIN_PATH: "C:\\mingw-w64\\i686-6.3.0-posix-dwarf-rt_v5-rev1\\mingw32\\bin"
ARCH: "32"
- PYTHON_VERSION: 2.7
MINICONDA: "C:\\Miniconda-x64"
MINGW_BIN_PATH: "C:\\mingw-w64\\x86_64-6.3.0-posix-seh-rt_v5-rev1\\mingw64\\bin"
ARCH: "64"
init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update --quiet conda
- conda info --all
- conda create -n _dtocean_hydro python=%PYTHON_VERSION% pip
- activate _dtocean_hydro
- copy .condarc %CONDA_PREFIX%
- conda install "polite>=0.10.3" dtocean-data
- conda install -y numpy=1.11.3=py27hfef472a_4 libpython
- python setup.py bootstrap
- conda install --file requirements-conda-dev.txt
- pip install -e .
- conda install mock "pytest>=3.6,<4" pytest-catchlog pytest-cov pytest-mock pytest-qt
build: off
test_script:
- python setup.py test -a "--cov dtocean_hydro --cov dtocean_tidal --cov dtocean_wave --cov dtocean_wec"
after_test:
- pip install codecov
- codecov