2014-06-06 07:09:46 -04:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- configuration: Release
|
2015-06-16 15:15:24 -04:00
|
|
|
# - configuration: Debug
|
2014-06-06 07:09:46 -04:00
|
|
|
|
2016-12-26 13:00:08 -05:00
|
|
|
install:
|
|
|
|
- ps: Install-Product node 6
|
|
|
|
|
2014-06-06 07:09:46 -04:00
|
|
|
# scripts that are called at very beginning, before repo cloning
|
|
|
|
init:
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
2015-08-21 06:43:37 -04:00
|
|
|
os: Visual Studio 2015
|
2015-06-11 17:17:16 -04:00
|
|
|
|
2014-06-06 07:09:46 -04:00
|
|
|
# clone directory
|
|
|
|
clone_folder: c:\projects\osrm
|
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
build_script:
|
2015-06-16 15:15:24 -04:00
|
|
|
- CALL appveyor-build.bat
|
2014-06-06 07:09:46 -04:00
|
|
|
|
2016-12-26 13:00:08 -05:00
|
|
|
before_test:
|
|
|
|
- node --version
|
|
|
|
- npm --version
|
2017-03-20 20:14:28 -04:00
|
|
|
- npm install --ignore-scripts
|
2016-12-26 13:00:08 -05:00
|
|
|
- npm link
|
|
|
|
- SET PATH=%CD%\osrm-deps\libs\bin;%PATH%
|
|
|
|
- SET OSRM_BUILD_DIR=build\%Configuration%
|
|
|
|
- npm test
|
2014-06-06 07:09:46 -04:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: osrm_Release.zip
|
|
|
|
name: osrm_Release.zip
|
2015-06-16 15:15:24 -04:00
|
|
|
# - path: osrm_Debug.zip
|
|
|
|
# name: osrm_Debug.zip
|
2014-06-06 07:09:46 -04:00
|
|
|
|
2016-01-18 15:23:13 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2014-06-11 09:17:51 -04:00
|
|
|
deploy:
|
|
|
|
provider: FTP
|
|
|
|
server:
|
|
|
|
secure: ef7oiQTTXFGt8NdNiOHm/uRFVrUttzyFbIlnaeHhQvw=
|
|
|
|
username:
|
|
|
|
secure: Bw+Se2GTJxA6+GtRkEc//tQSBHOuFIuJHBjFwR9cD+8=
|
|
|
|
password:
|
|
|
|
secure: eqwESZqxMXC/j5mOCpaXuw==
|
|
|
|
folder: /
|
|
|
|
enable_ssl: true
|
|
|
|
active_mode: false
|