Skip to content
Permalink
Browse files

Use Azure Pipelines instead of Travis CI

  • Loading branch information...
dahlia committed May 14, 2019
1 parent d7b61c9 commit 778081f5c5faf3055649da5b724892cf44a0a7dc
Showing with 4 additions and 66 deletions.
  1. +0 −32 .travis.dotCover.xml
  2. +0 −30 .travis.yml
  3. +2 −2 CONTRIBUTING.md
  4. +2 −2 README.md

This file was deleted.

Oops, something went wrong.
@@ -47,22 +47,6 @@ install:
# .NET Core SDK 2.2+
choco install dotnetcore-sdk
dotnet --info
# Tools for test coverage (dotcover-clt, codecov-exe)
if [[ "$CODECOV_TOKEN" != "" ]]; then
mkdir /tmp/dotcover
pushd /tmp
wget \
https://download.jetbrains.com/resharper/ReSharperUltimate.2018.3.4/JetBrains.dotCover.CommandLineTools.2018.3.4.zip
pushd dotcover
7z x ../JetBrains.dotCover.CommandLineTools.*.zip
popd
mv dotcover/* /c/Windows/
rm JetBrains.dotCover.CommandLineTools.*.zip
popd
choco install codecov
fi
fi
set +ev
@@ -89,20 +73,6 @@ script:
# seems not terminated or to take too long time. We should diagnose
# this and make the CI to run these tests too.

# Run unit tests with coverage report
- |
if [[ "$TRAVIS_OS_NAME" = "windows" && "$CODECOV_TOKEN" != "" ]]; then
dotnet build -c Debug
dotnet build-server shutdown
solution_abspath="$(cygpath -w "$(pwd)"/Libplanet.sln)"
dotCover_config="$(cat .travis.dotCover.xml)"
echo "${dotCover_config//\$SOLUTION/$solution_abspath}" \
> dotCover.xml
travis_wait 60 dotCover.exe cover dotCover.xml /p:UseSharedCompilation=false
# Upload report to Codecov.io
codecov.exe -f Libplanet.cov.xml -t "$CODECOV_TOKEN"
fi
# Turn off "set -e" option
- set +e

@@ -67,7 +67,7 @@ builds the entire *Libplanet* solution:
dotnet build


Tests [![Build Status](https://travis-ci.com/planetarium/libplanet.svg?branch=master)][Travis CI] [![Codecov](https://codecov.io/gh/planetarium/libplanet/branch/master/graph/badge.svg)][2]
Tests [![Build Status](https://dev.azure.com/planetarium/libplanet/_apis/build/status/planetarium.libplanet?branchName=master)][Azure Pipelines] [![Codecov](https://codecov.io/gh/planetarium/libplanet/branch/master/graph/badge.svg)][2]
-----

We write as complete tests as possible to the corresponding implementation code.
@@ -88,7 +88,7 @@ To build and run unit tests at a time execute the below command:

dotnet test

[Travis CI]: https://travis-ci.com/planetarium/libplanet
[Azure Pipelines]: https://dev.azure.com/planetarium/libplanet/_build/latest?definitionId=1&branchName=master
[2]: https://codecov.io/gh/planetarium/libplanet
[Xunit]: https://xunit.github.io/

@@ -2,7 +2,7 @@ Libplanet
=========

[![Discord](https://img.shields.io/discord/539405872346955788.svg?color=7289da&logo=discord&logoColor=white)][Discord]
[![Build Status](https://travis-ci.com/planetarium/libplanet.svg?branch=master)][Travis CI]
[![Build Status](https://dev.azure.com/planetarium/libplanet/_apis/build/status/planetarium.libplanet?branchName=master)][Azure Pipelines]
[![Codecov](https://codecov.io/gh/planetarium/libplanet/branch/master/graph/badge.svg)][Codecov]
[![NuGet](https://img.shields.io/nuget/v/Libplanet.svg?style=flat)][NuGet]
[![NuGet (prerelease)](https://img.shields.io/nuget/vpre/Libplanet.svg?style=flat)][NuGet]
@@ -14,7 +14,7 @@ server. Under the hood, it incorporates many features (e.g.,
[digital signature], [BFT] consensus, data replication) of a [blockchain].

[Discord]: https://discord.gg/ue9fgc3
[Travis CI]: https://travis-ci.com/planetarium/libplanet
[Azure Pipelines]: https://dev.azure.com/planetarium/libplanet/_build/latest?definitionId=1&branchName=master
[Codecov]: https://codecov.io/gh/planetarium/libplanet
[NuGet]: https://www.nuget.org/packages/Libplanet/
[digital signature]: https://en.wikipedia.org/wiki/Digital_signature

0 comments on commit 778081f

Please sign in to comment.
You can’t perform that action at this time.