Skip to content

Commit

Permalink
Update CI configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwe11 committed Jun 27, 2016
1 parent 30f6c54 commit 26f421d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@ os: linux
dist: trusty
addons:
apt:
sources:
- debian-sid
packages:
- libunwind8
- gettext
- libssl-dev
- libcurl4-openssl-dev
- zlib1g
- libicu-dev
- uuid-dev
install:
- curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
- dnvm upgrade -r coreclr
- sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
- sudo apt-get update
- sudo apt-get --assume-yes install dotnet-dev-1.0.0-preview2-003121
solution: NModbus4.sln
script:
- dnu restore
- dotnet restore
- cd NModbus4.UnitTests
- dnu build
- dnx test
- dotnet test
7 changes: 3 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ init:
- git config --global core.autocrlf true
install:
- cmd: >-
dnu restore
dotnet restore
build:
project: NModbus4.sln
verbosity: minimal
test_script:
- dnvm use 1.0.0-rc1-final -r coreclr
- cd NModbus4.UnitTests
- C:\Users\appveyor\.dnx\packages\OpenCover\4.6.166\tools\OpenCover.Console.exe -register:user -target:"dnx.exe" -targetargs:"--lib C:\projects\nmodbus4-ss8e4\artifacts\bin\NModbus4\Debug\dotnet5.5 test" -returntargetcode -filter:"+[NModbus4]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:./opencover_report.xml
- "SET PATH=C:/Python34;C:/Python34/Scripts;%PATH%"
- "SET PATH=C:/Users/appveyor/.nuget/packages/OpenCover/4.6.166/tools;C:/Python34;C:/Python34/Scripts;%PATH%"
- OpenCover.Console.exe -register:user -target:"dotnet.exe" -targetargs:"test" -returntargetcode -filter:"+[NModbus4]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:./opencover_report.xml
- pip install codecov
- codecov -f "./opencover_report.xml"

0 comments on commit 26f421d

Please sign in to comment.