[go: up one dir, main page]

Menu

[2f0b53]: / code / .travis.yml  Maximize  Restore  History

Download this file

19 lines (16 with data), 959 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
language: csharp
solution: Dawn of Light.sln
sudo: false # Use container-based infrastructure
env:
matrix:
- XBUILD_TARGET=Debug
- XBUILD_TARGET=Release
install:
- travis_retry nuget restore DOLServer/packages.config -SolutionDirectory ./
- travis_retry nuget install NUnit.Console -Version 3.2.1 -OutputDirectory test -ExcludeVersion
script:
- MONO_IOMAP=case xbuild /p:Configuration=$XBUILD_TARGET "Dawn of Light.sln"
- mkdir -p ./build/UnitTests/$XBUILD_TARGET/config
- sed -e 's/type\=\"log4net\.Appender\.ColoredConsoleAppender\"/type\=\"log4net\.Appender\.ConsoleAppender\"/' ./GameServer/config/logconfig.xml > ./build/UnitTests/$XBUILD_TARGET/config/logconfig.xml
- LANG=en_US.CP1252 mono ./test/NUnit.ConsoleRunner/tools/nunit3-console.exe ./build/UnitTests/$XBUILD_TARGET/lib/UnitTests.dll
- LANG=en_US.CP1252 mono ./test/NUnit.ConsoleRunner/tools/nunit3-console.exe ./build/DOLDatabaseTests/$XBUILD_TARGET/lib/DOLDatabaseTests.dll