Commit 2fc08aa5 authored by Jeremy Bokobza's avatar Jeremy Bokobza Committed by GitHub

Submodule update (#231)

* updated full node submodule

* Updated Breeze.Daemon to dotnet core 2.0

* updated Travis build for dotnet core 2.0

* Added logging of critical env variables. Also made TAG configurable.

* Added configuration variable to appveyor build

* fixed checking whether TAG is set
parent 70afb241
......@@ -22,7 +22,6 @@ env:
- arch=x64
- configuration=Release
- os_platform=linux
- TRAVIS_TAG=cd-unstable
# Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163
......@@ -33,9 +32,14 @@ before_install:
install:
- nvm install 6
before_script:
- if [ -z "$TRAVIS_TAG" ] ; then TRAVIS_TAG=cd-unstable; fi
script:
- chmod +x build.sh
- "./build.sh"
deploy:
provider: releases
api_key:
......
......@@ -6,7 +6,6 @@
version: 0.1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
# branches to build
branches:
......@@ -47,12 +46,26 @@ init:
$env:log_prefix = "[$env:win_runtime][$env:configuration]"
$env:app_output_name = "breeze-$env:win_runtime-$env:configuration"
$env:api_output_name = "api-$env:win_runtime-$env:configuration"
if ($env:APPVEYOR_REPO_TAG -eq "false") { $env:APPVEYOR_REPO_TAG_NAME = "cd-unstable" }
#---------------------------------#
# build configuration #
#---------------------------------#
before_build:
- ps: |
Write-Host "*--------------------------------*" -foregroundcolor "magenta"
Write-Host "current environment variables:" -foregroundcolor "magenta"
Write-Host "Windows runtime: $env:win_runtime" -foregroundcolor "magenta"
Write-Host "Build directory: $env:APPVEYOR_BUILD_FOLDER" -foregroundcolor "magenta"
Write-Host "Configuration: $env:configuration" -foregroundcolor "magenta"
Write-Host "App output name: $env:app_output_name" -foregroundcolor "magenta"
Write-Host "Branch: $env:APPVEYOR_REPO_BRANCH" -foregroundcolor "magenta"
Write-Host "Tag is set: $env:APPVEYOR_REPO_TAG" -foregroundcolor "magenta"
Write-Host "Tag: $env:APPVEYOR_REPO_TAG_NAME" -foregroundcolor "magenta"
Write-Host "Commit: $env:APPVEYOR_REPO_COMMIT" -foregroundcolor "magenta"
Write-Host "Commit message: $env:APPVEYOR_REPO_COMMIT_MESSAGE" -foregroundcolor "magenta"
Write-Host "*--------------------------------*" -foregroundcolor "magenta"
Write-Host "$env:log_prefix STARTED restoring dotnet and npm packages" -foregroundcolor "magenta"
cd Breeze
......
......@@ -25,6 +25,10 @@ echo "Configuration:" $configuration
echo "App output name:" $app_output_name
echo "Api output name:" $api_output_name
echo "dotnet resources path in app:" $dotnet_resources_path_in_app
echo "Branch:" $TRAVIS_BRANCH
echo "Tag:" $TRAVIS_TAG
echo "Commit:" $TRAVIS_COMMIT
echo "Commit message:" $TRAVIS_COMMIT_MESSAGE
dotnet --info
......
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