Commit 7ee0d7e6 authored by Jeremy Bokobza's avatar Jeremy Bokobza Committed by GitHub

Merge pull request #173 from bokobza/master

Removed Debug configuration
parents 3430eb4c a0a3de1b
...@@ -21,7 +21,7 @@ branches: ...@@ -21,7 +21,7 @@ branches:
image: Visual Studio 2017 image: Visual Studio 2017
clone_folder: c:\projects\breeze clone_folder: c:\projects\breeze
configuration: configuration:
- Debug # - Debug
- Release - Release
environment: environment:
matrix: matrix:
......
...@@ -23,19 +23,19 @@ dotnet --info ...@@ -23,19 +23,19 @@ dotnet --info
# Initialize dependencies # Initialize dependencies
echo $log_prefix STARTED restoring dotnet and npm packages echo $log_prefix STARTED restoring dotnet and npm packages
cd Breeze cd $TRAVIS_BUILD_DIR/Breeze
git submodule init git submodule init
git submodule update git submodule update
dotnet restore -v m dotnet restore -v m
cd ../Breeze.UI cd $TRAVIS_BUILD_DIR/Breeze.UI
npm install npm install
echo $log_prefix FINISHED restoring dotnet and npm packages echo $log_prefix FINISHED restoring dotnet and npm packages
# dotnet build # dotnet build
echo $log_prefix running 'dotnet build' echo $log_prefix running 'dotnet build'
cd ../Breeze/src/Breeze.Daemon cd $TRAVIS_BUILD_DIR/Breeze/src/Breeze.Daemon
dotnet build -c $configuration -v m dotnet build -c $configuration -v m
echo $log_prefix running 'dotnet publish' echo $log_prefix running 'dotnet publish'
...@@ -43,10 +43,11 @@ dotnet publish -c $configuration -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS ...@@ -43,10 +43,11 @@ dotnet publish -c $configuration -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS
echo $log_prefix zipping results of 'dotnet publish' into $TRAVIS_BUILD_DIR/dotnet_out/$api_output_name.zip echo $log_prefix zipping results of 'dotnet publish' into $TRAVIS_BUILD_DIR/dotnet_out/$api_output_name.zip
mkdir -p $TRAVIS_BUILD_DIR/deploy/ mkdir -p $TRAVIS_BUILD_DIR/deploy/
zip -r $TRAVIS_BUILD_DIR/deploy/$api_output_name.zip $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/* cd $TRAVIS_BUILD_DIR/dotnet_out
zip -r $TRAVIS_BUILD_DIR/deploy/$api_output_name.zip $TRAVIS_OS_NAME/*
# node Build # node Build
cd ../../../Breeze.UI cd $TRAVIS_BUILD_DIR/Breeze.UI
echo $log_prefix running 'npm run' echo $log_prefix running 'npm run'
npm run build:prod npm run build:prod
...@@ -61,7 +62,8 @@ cp -r $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/* $TRAVIS_BUILD_DIR/breeze_ou ...@@ -61,7 +62,8 @@ cp -r $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/* $TRAVIS_BUILD_DIR/breeze_ou
# zip result # zip result
echo $log_prefix zipping the app into $TRAVIS_BUILD_DIR/breeze_out/$app_output_name.zip echo $log_prefix zipping the app into $TRAVIS_BUILD_DIR/breeze_out/$app_output_name.zip
zip -r $TRAVIS_BUILD_DIR/deploy/$app_output_name.zip $TRAVIS_BUILD_DIR/breeze_out/breeze-ui-$os_platform-$arch/* cd $TRAVIS_BUILD_DIR/breeze_out
zip -r $TRAVIS_BUILD_DIR/deploy/$app_output_name.zip breeze-ui-$os_platform-$arch/*
#tests #tests
echo $log_prefix running tests echo $log_prefix running tests
......
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