Skip to content

Commit

Permalink
🚧 Enable UnitTest in Travis CI Build.
Browse files Browse the repository at this point in the history
  • Loading branch information
catcherwong committed Jan 10, 2018
1 parent ba317e1 commit 0972eaf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@ language: csharp
solution: EasyCaching.sln

sudo: required

env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
- CONFIGURATION=Release

dotnet: 2.0.0

mono: none

services:
- memcached
- redis-server

os:
- linux
- osx
Expand All @@ -28,3 +26,4 @@ script:
- if test "$TRAVIS_OS_NAME" == "linux"; then dotnet restore; fi
- if test "$TRAVIS_OS_NAME" == "osx"; then dotnet restore --disable-parallel; fi
- dotnet build -c Release
- dotnet test -c Release ./test/EasyCaching.UnitTests/EasyCaching.UnitTests.csproj

0 comments on commit 0972eaf

Please sign in to comment.