-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from IntelRealSense/development
Development
- Loading branch information
Showing
198 changed files
with
27,938 additions
and
6,829 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,52 @@ | ||
# appveyor file | ||
# http://www.appveyor.com/docs/appveyor-yml | ||
# Copyright (c) 2017 Intel Corporation. All rights reserved. | ||
# Use of this source code is governed by a Apache License | ||
# Version 2.0 license that can be found in the LICENSE file. | ||
version: 2.1.{build} | ||
branches: | ||
only: | ||
- development | ||
skip_tags: true | ||
environment: | ||
nodejs_version: "6" | ||
image: Visual Studio 2015 | ||
clone_folder: c:\projects\librealsense | ||
init: | ||
- cmd: | ||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- cmd: >- | ||
cd c:\projects\librealsense\.. && git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | ||
os: Visual Studio 2013 | ||
set OLDPATH=%PATH% && set PATH=%PATH%;c:\projects\depot_tools | ||
cd c:\projects\librealsense\wrappers\nodejs\tools && npm install | ||
cd c:\projects\librealsense\wrappers\nodejs && node .\tools\linter.js && set PATH=%OLDPATH% && set OLDPATH= | ||
before_build: | ||
- cmd: nuget restore librealsense.vc12/realsense.sln -Verbosity detailed | ||
- cmd: >- | ||
cd c:\projects\librealsense && mkdir build && cd build | ||
cmake .. -DBUILD_EXAMPLES=true -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS:BOOL=true | ||
build: | ||
project: ./build/Realsense.sln | ||
verbosity: minimal | ||
project: librealsense.vc12/realsense.sln | ||
test_script: | ||
- ps: >- | ||
$url = "http://realsense-hw-public.s3.amazonaws.com/rs-tests/awgc4" | ||
$output = "C:/projects/librealsense/build/Debug/awgc4" | ||
Invoke-WebRequest -Uri $url -OutFile $output | ||
& cmd.exe /c C:/projects/librealsense/build/Debug/live-test.exe from C:/projects/librealsense/build/Debug/awgc4 -d yes | ||
if ($LASTEXITCODE -ne 0) | ||
{ | ||
throw "Tests failed!" | ||
} | ||
cache: | ||
- librealsense.vc12/packages | ||
# TODO(halton): Add unit test for Node.js binding |
Oops, something went wrong.