Skip to content

Commit

Permalink
More Linux fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slide committed Dec 7, 2016
1 parent 9aab5ab commit 129bf90
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
@@ -0,0 +1,31 @@
language: csharp

env:
- CONFIGURATION=Release

mono:
- latest

solution: Dlr.sln

before_install:
- curl https://api.nuget.org/downloads/nuget.exe -o nuget.exe
- mono nuget.exe install NUnit
- mono nuget.exe install NUnitLite

script:
- xbuild Build.proj /t:Build "/p:Mono=true;BuildFlavour=$CONFIGURATION"
- pushd bin/$CONFIGURATION
- mono ./TestInternalDLR.exe

notifications:
email:
recipients:
- slide.o.mix@gmail.com
- ticotimo@gmail.com
on_success: always # default: change
#on_failure: [always|never|change] # default: always

webhooks:
urls:
- https://webhooks.gitter.im/e/f04e10a7af4b181c18c0
5 changes: 3 additions & 2 deletions Tests/ClrAssembly/ClrAssembly.csproj
Expand Up @@ -70,7 +70,8 @@
<Csc TargetType="library" Sources="Src\typeforwardee1.cs" OutputAssembly="$(OutputPath)\$(Prefix)typeforwardee1.dll" />
<Csc TargetType="library" Sources="Src\typeforwarder1.cs" References="$(OutputPath)\$(Prefix)typeforwardee1.dll" OutputAssembly="$(OutputPath)\$(Prefix)typeforwarder1.dll" />
<Csc TargetType="library" Sources="Src\typeforwardee2.cs" OutputAssembly="$(OutputPath)\$(Prefix)typeforwardee2.dll" />
<Exec Command="&quot;$(DotNetFrameworkPath)\ilasm.exe&quot; /NOLOGO /QUIET /DLL /out=&quot;$(OutputPath)\$(Prefix)typeforwarder2.dll&quot; Src\typeforwarder2.il" Condition=" '$(Mono)' != 'true' " />
<Message Text="Need to reenable the Exec for Linux once a mono is released with https://github.com/mono/mono/pull/3625" />
<Exec Condition="'$(OS)' != 'Unix'" Command="&quot;$(DotNetFrameworkPath)\ilasm.exe&quot; /NOLOGO /QUIET /DLL /out=&quot;$(OutputPath)\$(Prefix)typeforwarder2.dll&quot; Src\typeforwarder2.il" />
<Csc TargetType="library" Sources="Src\typeforwardee3.cs" OutputAssembly="$(OutputPath)\$(Prefix)typeforwardee3.dll" />
<Csc TargetType="library" Sources="Src\typeforwarder3.cs" References="$(OutputPath)\$(Prefix)typeforwardee3.dll" OutputAssembly="$(OutputPath)\$(Prefix)typeforwarder3.dll" />
</Target>
Expand All @@ -91,7 +92,7 @@
<Csc TargetType="library" EmitDebugInformation="true" Sources="Src\baseclasscs.cs" OutputAssembly="$(OutputPath)\$(Prefix)baseclasscs.dll" References="$(OutputPath)\$(Prefix)typesamples.dll" />
<Csc TargetType="library" EmitDebugInformation="true" Sources="Src\dynamicobjmodel.cs" OutputAssembly="$(OutputPath)\$(Prefix)dynamicobjmodel.dll" References="$(OutputPath)\Microsoft.Dynamic.dll" />
</Target>
<Target Name="VBManyArea" Inputs="@(AreaVBFile)" Outputs="@(AreaCSFile->'$(OutputPath)\$(Prefix)%(Filename).dll')" DependsOnTargets="TypeSample">
<Target Name="VBManyArea" Inputs="@(AreaVBFile)" Outputs="@(AreaCSFile->'$(OutputPath)\$(Prefix)%(Filename).dll')" DependsOnTargets="TypeSample" Condition="'$(OS)' != 'Unix'">
<Vbc TargetType="library" EmitDebugInformation="true" Sources="Src\indexerdefinitionsvb.vb" OutputAssembly="$(OutputPath)\$(Prefix)indexerdefinitionsvb.dll" References="$(OutputPath)\$(Prefix)typesamples.dll" />
<Vbc TargetType="library" EmitDebugInformation="true" Sources="Src\defaultmembersvb.vb" OutputAssembly="$(OutputPath)\$(Prefix)defaultmembersvb.dll" References="$(OutputPath)\$(Prefix)typesamples.dll" />
<Vbc TargetType="library" EmitDebugInformation="true" Sources="Src\baseclassvb.vb" OutputAssembly="$(OutputPath)\$(Prefix)baseclassvb.dll" References="$(OutputPath)\$(Prefix)typesamples.dll" />
Expand Down

0 comments on commit 129bf90

Please sign in to comment.