Commit f68912a2 authored by Jeremy Bokobza's avatar Jeremy Bokobza

Changed the builds to use the portable version of the dotnet node.

parent c20f2fa4
...@@ -7,10 +7,8 @@ matrix: ...@@ -7,10 +7,8 @@ matrix:
dist: trusty dist: trusty
sudo: required sudo: required
dotnet: 2.0.0 dotnet: 2.0.0
env: os_identifier=ubuntu.14.04
- os: osx # OSX 10.12 - os: osx # OSX 10.12
osx_image: xcode9 osx_image: xcode9
env: os_identifier=osx.10.12
before_install: before_install:
- brew update - brew update
- curl https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh - curl https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
......
...@@ -5,8 +5,8 @@ set -o errexit ...@@ -5,8 +5,8 @@ set -o errexit
# define a few variables # define a few variables
node_output_name="Breeze-$os_platform-$arch" node_output_name="Breeze-$os_platform-$arch"
app_output_name="breeze-$os_identifier-$arch" app_output_name="breeze-$os-$arch"
app_output_zip_name="breeze-$os_identifier-$arch-$configuration.zip" app_output_zip_name="breeze-$os-$arch-$configuration.zip"
if [ "$TRAVIS_OS_NAME" = "osx" ] if [ "$TRAVIS_OS_NAME" = "osx" ]
then then
...@@ -17,7 +17,7 @@ fi ...@@ -17,7 +17,7 @@ fi
echo "current environment variables:" echo "current environment variables:"
echo "OS name:" $TRAVIS_OS_NAME echo "OS name:" $TRAVIS_OS_NAME
echo "OS identifier:" $os_identifier echo "OS identifier:" $os
echo "Platform:" $os_platform echo "Platform:" $os_platform
echo "Build directory:" $TRAVIS_BUILD_DIR echo "Build directory:" $TRAVIS_BUILD_DIR
echo "Node version:" $TRAVIS_NODE_VERSION echo "Node version:" $TRAVIS_NODE_VERSION
...@@ -48,7 +48,7 @@ echo $log_prefix FINISHED restoring dotnet and npm packages ...@@ -48,7 +48,7 @@ echo $log_prefix FINISHED restoring dotnet and npm packages
# dotnet publish # dotnet publish
echo $log_prefix running 'dotnet publish' echo $log_prefix running 'dotnet publish'
cd $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD cd $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD
dotnet publish -c $configuration -r $os_identifier-$arch -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME dotnet publish -c $configuration -r $os-$arch -v m -o $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME
echo $log_prefix chmoding the Stratis.BreezeD file echo $log_prefix chmoding the Stratis.BreezeD file
chmod +x $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/Stratis.BreezeD chmod +x $TRAVIS_BUILD_DIR/dotnet_out/$TRAVIS_OS_NAME/Stratis.BreezeD
......
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