#
#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:projectsvisir-tracker
platform: x64
#install:
#-cmd: choco install OpenCV
build_script:
choco install opencv
cd c:projectsvisir-tracker
md build
cd build
cmake -DOpenCV_DIR=c:toolsopencvbuild -GVisual Studio 15 Win64 -DUSE_OPENGL=ON ..
msbuild /m /p:Configuration=Release /p:Platform=x64 visir-tracker.sln
#test_script:
# cmd: |-
#copy C:toolsopencvbuildx64vc15binopencv_world???.dll.binRelease
#copy C:toolsopencvbuildx64vc15binopencv_world???d.dll .binDebug
#.binReleaseTests.exe gtest_output=xml:tests.xml > tests.txt
#after_test:
# ps: |
#$env:PATH = C:msys64usrbin; + $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:projectsvisir-trackerbuildtests.xml))
Reviews
There are no reviews yet.