From 07d9ef29b05538880a74e005a86de1037a732a2d Mon Sep 17 00:00:00 2001 From: Savorboard Date: Sat, 14 Oct 2017 19:05:16 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60a63b4..0ed5658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,4 @@ -#language: csharp -language: cpp +language: csharp sudo: required dist: trusty @@ -31,18 +30,8 @@ before_install: - sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list' - sudo apt-get update - sudo apt-get install -y dotnet-sdk-2.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.2 - - export DOTNET_INSTALL_DIR="$PWD/.dotnetcli" - - export PATH="$DOTNET_INSTALL_DIR:$PATH" -#install: -# - travis_retry curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh | bash /dev/stdin --channel 2.0 --install-dir "$DOTNET_INSTALL_DIR" - -#cache: -# - apt -# - directories: -# - packages - # Run the build script script: - - travis_retry dotnet restore --disable-parallel - - dotnet test test\DotNetCore.CAP.Test -verbose + - travis_retry dotnet restore + - dotnet test test\DotNetCore.CAP.Test