-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
54 lines (43 loc) · 1.28 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
54
# - 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 #
#---------------------------------#
# Build only for commits to certain locations
only_commits:
files:
- dtocean_environment/
- tests/
- setup.py
# version format
version: 2.0.0.build{build}
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
ARCH: "32"
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
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_eia python=%PYTHON_VERSION% pip
- activate _dtocean_eia
- copy .condarc %CONDA_PREFIX%
- conda install polite=0.10.0
- conda install --file requirements-conda-dev.txt
- pip install -e .
- conda install pytest pytest-cov
build: off
test_script:
- py.test --cov dtocean_environment tests
after_test:
- pip install codecov
- codecov