Commit 1b69a78c authored by Jeremy Bokobza's avatar Jeremy Bokobza

updated travis build file to work around the brew bug

parent 78b80792
language: csharp language: csharp
mono: none mono: none
dotnet: 2.0.0
matrix: matrix:
include: include:
- os: linux # Ubuntu 14.04 - os: linux # Ubuntu 14.04
dist: trusty dist: trusty
sudo: required sudo: required
dotnet: 2.0.0
env: os_identifier=ubuntu.14.04 env: os_identifier=ubuntu.14.04
- os: osx # OSX 10.12 - os: osx # OSX 10.12
osx_image: xcode8.1 osx_image: xcode9
env: os_identifier=osx.10.12 env: os_identifier=osx.10.12
before_install:
- brew update
- curl https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
- chmod +x dotnet-install.sh
- ./dotnet-install.sh --channel 2.0
- export PATH=$PATH:~/.dotnet/
# branches to build # branches to build
branches: branches:
......
...@@ -46,7 +46,6 @@ echo $log_prefix FINISHED restoring dotnet and npm packages ...@@ -46,7 +46,6 @@ 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 $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD cd $TRAVIS_BUILD_DIR/StratisBitcoinFullNode/Stratis.BreezeD
dotnet restore -v m
dotnet build -c $configuration -r $os_identifier-$arch -v m dotnet build -c $configuration -r $os_identifier-$arch -v m
echo $log_prefix running 'dotnet publish' echo $log_prefix running 'dotnet publish'
......
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