Skip to content

Commit

Permalink
Add TravisCI configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Caput committed Feb 20, 2016
1 parent 4c67441 commit d5ab175
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/Cottle.Test/bin/
/Cottle.Test/obj/
/packages/
/tests/
/TestResult.xml
*.sln.sdsettings
*.suo
*.user
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: csharp
solution: Cottle.sln
install:
- nuget restore Cottle.sln
- nuget install NUnit.Console -Version 3.0.1 -OutputDirectory tests
script:
- xbuild /p:Configuration=Release Cottle.sln
- mono ./tests/NUnit.Console.3.0.1/tools/nunit3-console.exe ./Cottle.Test/bin/Release/Cottle.Test.dll
8 changes: 4 additions & 4 deletions Cottle.Test/Cottle.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
<HintPath>..\packages\NUnit.3.0.1\lib\net20\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
Expand All @@ -52,9 +52,6 @@
<Compile Include="src\Builtins\BuiltinTrimmersTester.cs" />
<Compile Include="src\DocumentTester.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="src\Builtins" />
<Folder Include="src" />
Expand All @@ -65,5 +62,8 @@
<Name>Cottle</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
2 changes: 1 addition & 1 deletion Cottle.Test/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="2.6.3" targetFramework="net40-Client" />
<package id="NUnit" version="3.0.1" targetFramework="net35" />
</packages>

0 comments on commit d5ab175

Please sign in to comment.