Unverified Commit 76b08b53 authored by Claudio Fantacci's avatar Claudio Fantacci
Browse files

Fix test builds

Checkout to the correct YCM branch version.
parent 2148f7ed
......@@ -38,10 +38,10 @@ install:
- ps: cd c:\dev
- git clone https://github.com/robotology/ycm.git
- ps: cd ycm
- git checkout devel
- git checkout v0.10.2
- ps: mkdir build
- ps: cd build
- ps: cmake -G "$env:CMAKE_GENERATOR" -DCMAKE_INSTALL_PREFIX:PATH=c:\dev\install ..
- ps: cmake -Wno-dev -G"$env:CMAKE_GENERATOR" -DCMAKE_INSTALL_PREFIX=c:\dev\install ..
- ps: cmake --build . --target INSTALL --config $env:CONFIGURATION
- ps: $env:YCM_DIR="c:\dev\install\share\YCM\cmake"
- ps: cd c:\dev
......@@ -58,7 +58,7 @@ build_script:
- ps: cd c:\dev\superimpose-mesh-lib
- ps: mkdir build
- ps: cd build
- ps: cmake -G "$env:CMAKE_GENERATOR" -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DBUILD_TESTING:BOOL=ON ..
- ps: cmake -G"$env:CMAKE_GENERATOR" -DCMAKE_TOOLCHAIN_FILE=c:\Tools\vcpkg\scripts\buildsystems\vcpkg.cmake -DBUILD_TESTING:BOOL=ON ..
- ps: cmake --build . --target ALL_BUILD --config $env:CONFIGURATION
after_build:
......
......@@ -59,7 +59,7 @@ install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install glfw --HEAD; fi
- git clone https://github.com/robotology/ycm.git
- cd ycm
- git checkout devel
- git checkout v0.10.2
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=${TRAVIS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=$(pwd)/../install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment