forked from usgs/pestpp-opt_benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (45 loc) · 1.43 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
environment:
matrix:
- PYTHON_VERSION: "3.6"
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
platform:
- x64
build: false
cache:
- '%LOCALAPPDATA%\pip\Cache'
- '%USERPROFILE%\.cache\pyemu'
init:
- echo %PYTHON_VERSION% %CONDA_INSTALL_LOCN%
install:
- git clone -b develop --depth 1 https://github.com/jtwhite79/pestpp
- set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH%;
- set PYTHONUNBUFFERED=1
- conda config --set always_yes true
- conda update conda
- conda update --all
- conda config --set show_channel_urls yes
- conda config --prepend channels conda-forge
- conda info -a
- conda install --yes python=%PYTHON_VERSION% pip numpy scipy pandas nose matplotlib jupyter notebook cartopy
- pip install coveralls
- pip install pyshp
- pip install nose-timer
- #pip install git+https://github.com/modflowpy/flopy.git@develop
- #pip install https://github.com/modflowpy/pymake/zipball/master
- git clone --depth 1 --single-branch -b develop https://github.com/modflowpy/flopy.git
- cd flopy
- python setup.py install
- cd ..
- git clone --depth 1 --single-branch -b develop https://github.com/jtwhite79/pyemu.git
- cd pyemu
- python setup.py install
- cd ..
# Show the installed packages + versions
- conda list
- set PATH=test_bin\win;..\test_bin\win;..\..\test_bin\win;%PATH%;
test_script:
- nosetests -v opt_test.py
after_test:
- echo "done"
matrix:
fast_finish: true