forked from Jacobs-University/eyden-tracer-01
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (35 loc) · 1.44 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
#-----------------------------------------------------------------------------
# Configuration for continuous integration service at appveyor.com
#-----------------------------------------------------------------------------
version: 1.0.0.{build}
branches:
only:
- master
# Operating system (build VM template)
os: Visual Studio 2017
# scripts that are called at very beginning, before repo cloning
init:
# clone directory
clone_folder: c:\projects\eyden-tracer
platform: x64
#install:
# -cmd: choco install OpenCV
build_script:
- choco install opencv
- cd c:\projects\eyden-tracer
- md build
- cd build
- cmake -DOpenCV_DIR=c:\tools\opencv\build -G"Visual Studio 15 Win64" -DUSE_OPENGL=ON ..
- msbuild /m /p:Configuration=Release /p:Platform="x64" eyden-tracer.sln
#test_script:
# - cmd: |-
# copy C:\tools\opencv\build\x64\vc15\bin\opencv_world???.dll ".\bin\Release"
# copy C:\tools\opencv\build\x64\vc15\bin\opencv_world???d.dll ".\bin\Debug"
# .\bin\Release\Tests.exe --gtest_output=xml:tests.xml > tests.txt
#after_test:
# - ps: |
# $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
# Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
# bash codecov.sh -f "tests.xml" -t 7f81e53e-1ebf-44f8-8b49-54da37b0a0a8
#on_finish:
# - ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path c:\projects\eyden-tracer\build\tests.xml))