Commit 6dd092d4 authored by Jeremy Bokobza's avatar Jeremy Bokobza

Added OS name and version to the output files for OSX releases

parent 4898e328
......@@ -5,29 +5,32 @@ matrix:
include:
- os: linux # Ubuntu 14.04
dist: trusty
sudo: required
sudo: required
env: os_version=ubuntu14.04
- os: osx # OSX 10.11
osx_image: xcode7.3
osx_image: xcode7.3
env: os_version=10.11
- os: osx # OSX 10.12
osx_image: xcode8.1
osx_image: xcode8.1
env: os_version=10.12
# branches to build
branches:
only:
- master
env:
global:
- log_prefix="[$TRAVIS_OS_NAME]"
- log_prefix=[$TRAVIS_OS_NAME]
- arch=x64
- configuration="Release"
- app_output_name="breeze-$arch-$TRAVIS_OS_NAME-Release"
- api_output_name="api-$arch-$TRAVIS_OS_NAME-Release"
- configuration=Release
- os_platform=linux
- TRAVIS_TAG=cd-unstable
# Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163
# https://github.com/travis-ci/travis-ci/issues/7728
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ulimit -n 1024 ; os_platform=darwin ; fi
......
......@@ -3,15 +3,21 @@
# exit if error
set -o errexit
# define a few variables
app_output_name="breeze-$TRAVIS_OS_NAME.$os_version-$arch-$configuration"
api_output_name="api-$TRAVIS_OS_NAME.$os_version-$arch-$configuration"
echo "current environment variables:"
echo "OS name:" $TRAVIS_OS_NAME
echo "OS version:" $os_version
echo "Platform:" $os_platform
echo "Build directory:" $TRAVIS_BUILD_DIR
echo "Node version:" $TRAVIS_NODE_VERSION
echo "Architecture:" $arch
echo "Configuration:" $configuration
echo "App output name" $app_output_name
echo "Api output name" $api_output_name
echo "App output name:" $app_output_name
echo "Api output name:" $api_output_name
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