# appveyor file # http://www.appveyor.com/docs/appveyor-yml # build version format version: 1.0.{build} branches: only: - develop # Operating system (build VM template) os: Windows Server 2012 # fix lineendings in Windows init: - git config --global core.autocrlf input # build Configuration, i.e. Debug, Release, etc. configuration: Release # environment variables environment: user_deploy_pwd: secure: xxxxxxxxxxxxxxxxxxxxx # Get the latest stable version of Node 0.STABLE.latest install: # - npm install -gq tsd grunt-cli typescript bower # - npm install # - tsd reinstall # - bower install # scripts to run before build before_build: - nuget restore build: project: Orkeo.Platform.sln # path to Visual Studio solution publish_wap: true # package Web Application Projects (WAP) for Web Deploy # scripts to run after build after_build: - .\packages\EntityFramework.6.1.0\tools\migrate.exe Orkeo.Platform.Core.Repository.dll /startupdirectory:.\Orkeo.Platform.Web.WebApp\bin\ /connectionStringName:SqlDataProvider /startUpConfigurationFile:%CD%\Orkeo.Platform.Web.WebApp\bin\Orkeo.Platform.Web.WebApp.dll.config /verbose # - mkdir c:\tmp_db # - copy Orkeo.Platform.Data\EmptyDB.mdf c:\tmp_db\ # - Orkeo.Platform.Data\MigrationExec\Orkeo.Platform.Data.Migrations.exe -d Orkeo.Platform.Data\Migrations -c "Data Source=.\SQLEXPRESS;AttachDbFilename=c:\tmp_db\EmptyDB.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" -t -1 # to run your custom scripts instead of automatic MSBuild build_script: test: assemblies: # - Orkeo.Platform.API.Tests.dll - Orkeo.Platform.Core.RepositoryTests.dll # - Orkeo.Platform.Core.ServicesTests.dll #---------------------------------# # artifacts configuration # #---------------------------------# #artifacts: # pushing a single file # - path: test.zip # pushing a single file with environment variable in path and "Deployment name" specified # - path: Orkeo.Platform.Web.WebApp\bin # name: OrkeoApp deploy: - provider: WebDeploy #artifact: OrkeoApp server: https://serverIP:8172/msdeploy.axd website: OrkeoHomolog username: serverIP\OrkeoWebDeploy url: https://200.98.150.84:8081 password: MyPasswordWithoutCripto on: branch: develop platform: x64 configuration: release