Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
334989ae
Commit
334989ae
authored
May 02, 2020
by
Vinicius Jarina
Browse files
Fixing test run on Mac/Linux
parent
e2e423c4
Changes
3
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
334989ae
...
@@ -14,7 +14,7 @@ script:
...
@@ -14,7 +14,7 @@ script:
-
nuget restore NLua.sln
-
nuget restore NLua.sln
-
msbuild /p:Configuration=Release /t:Restore NLua.sln
-
msbuild /p:Configuration=Release /t:Restore NLua.sln
-
msbuild /p:Configuration=Release NLua.sln
-
msbuild /p:Configuration=Release NLua.sln
-
mono packages/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe
./tests/build/net45/bin/Release/NLuaTest.dll
-
dotnet test
./tests/build/net45/bin/Release/NLuaTest.dll
# Execute additional tests or commands
# Execute additional tests or commands
#after_script:
#after_script:
...
...
devops/azure-devops.yml
View file @
334989ae
...
@@ -52,7 +52,7 @@ jobs:
...
@@ -52,7 +52,7 @@ jobs:
solution
:
NLua.Mac.sln
solution
:
NLua.Mac.sln
configuration
:
Release
configuration
:
Release
-
script
:
'
mono
packages/NUnit.ConsoleRunner.3.11.1/tools/nunit3-console.exe
./tests/build/net45/bin/Release/NLuaTest.dll
--result=TEST-Result-Mac.xml'
-
script
:
'
dotnet
test
./tests/build/net45/bin/Release/NLuaTest.dll
--result=TEST-Result-Mac.xml'
displayName
:
'
Run
OSX
tests'
displayName
:
'
Run
OSX
tests'
-
task
:
PublishTestResults@2
-
task
:
PublishTestResults@2
...
...
tests/build/net45/NLuaTest.csproj
View file @
334989ae
...
@@ -58,6 +58,11 @@
...
@@ -58,6 +58,11 @@
<PackageReference
Include=
"NUnit"
>
<PackageReference
Include=
"NUnit"
>
<Version>
3.12.0
</Version>
<Version>
3.12.0
</Version>
</PackageReference>
</PackageReference>
<PackageReference
Include=
"NUnit3TestAdapter"
>
<Version>
3.16.1
</Version>
<IncludeAssets>
runtime; build; native; contentfiles; analyzers; buildtransitive
</IncludeAssets>
<PrivateAssets>
all
</PrivateAssets>
</PackageReference>
</ItemGroup>
</ItemGroup>
<Import
Project=
"..\..\src\NLuaTest.Shared.projitems"
Label=
"Shared"
/>
<Import
Project=
"..\..\src\NLuaTest.Shared.projitems"
Label=
"Shared"
/>
<Import
Project=
"..\..\src\NLuaTest.Shared.Scripts.projitems"
Label=
"Shared"
/>
<Import
Project=
"..\..\src\NLuaTest.Shared.Scripts.projitems"
Label=
"Shared"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment