Skip to content

Commit

Permalink
Updating Travis script to use apt-get install pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-wallis committed Jul 2, 2017
1 parent d3080ad commit 9a30f57
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: csharp
solution: ECSLight.sln
before_install:
- sudo apt-get install nunit-console
install:
- nuget restore ECSLight.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release ECSLight.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nunit-console.exe ./Tests/bin/Release/Tests.dll

- xbuild /p:Configuration=Debug ECSLight.sln
- nunit-console Tests/bin/Debug/Tests.dll
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM mono

COPY . /root/ECSLight

1 change: 1 addition & 0 deletions ECSLight.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
<None Include=".gitignore" />
<None Include=".travis.yml" />
<None Include="LICENSE" />
<None Include="README.md" />
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Chat at https://gitter.im/ECSLight/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ECSLight/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/robert-wallis/ECSLight.svg?branch=master)](https://travis-ci.org/robert-wallis/ECSLight)

# ECS Light

Expand Down

0 comments on commit 9a30f57

Please sign in to comment.