-
Notifications
You must be signed in to change notification settings - Fork 72
/
appveyor.yml
81 lines (65 loc) · 2.14 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
image: Visual Studio 2017
platform: x64
environment:
matrix:
- PYTHON_VERSION: "3.6"
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
clone_depth: 1
shallow_clone: true
# Do not build on tags (GitHub and BitBucket)
skip_tags: false
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: false
cache:
- '%LOCALAPPDATA%\pip\Cache'
- '%USERPROFILE%\.cache\pyemu'
init:
- echo %PYTHON_VERSION% %CONDA_INSTALL_LOCN%
install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- mkdir build
- cd build
- cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..
# - cmake --build .
- ninja -j2
# executable targets are automatically installed into bin; create artifact
- cpack -G ZIP
- cd ..
- set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH%;
- set PYTHONUNBUFFERED=1
# for msinttypes and newer stuff
- 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
- call %CONDA_INSTALL_LOCN%\scripts\activate
- conda info -a
- conda install --yes python=%PYTHON_VERSION% pip numpy scipy pandas matplotlib nose
- pip install coveralls pyshp nose-timer
- pip install git+https://github.com/modflowpy/flopy.git@develop
- pip install git+https://github.com/jtwhite79/pyemu.git@develop
# Show the installed packages + versions
- conda list
- #git clone -b master --depth 1 https://github.com/jtwhite79/pestpp-opt_benchmarks
- #git clone -b master --depth 1 https://github.com/jtwhite79/pestpp-ies_benchmarks
build: false
test_script:
- #cd benchmarks
- set PATH=%PATH%;..\..\..\test_bin\win;..\..\test_bin\win;
- nosetests -v -w ./benchmarks basic_tests.py
<<<<<<< HEAD
- nosetests -v -w ./benchmarks mou_tests.py
- #set USE_INTEL="YES";
- #nosetests -v -w ./benchmarks basic_tests.py
=======
>>>>>>> upstream_ayman/develop
- #nosetests -v -w ./pestpp-ies_benchmarks ies_test.py
- #nosetests -v -w ./pestpp-opt_benchmarks opt_test.py
after_test:
- echo done
matrix:
fast_finish: true
artifacts:
- path: build\*.zip
name: zip