fsprojects-archive / zzarchive-ApiaryProvider

[ARCHIVED] Type provider for Apiary.io
Other
10 stars 10 forks source link

Build fails on travis with error about not finding nunit-console #12

Closed ovatsus closed 10 years ago

ovatsus commented 10 years ago
Starting Target: RunTest_ApiaryProvider.DesignTime.Tests 
/Users/travis/build/fsprojects/ApiaryProvider/tools/Nunit/nunit-console.exe "-nologo" "-noshadow" "-labels" "/Users/travis/build/fsprojects/ApiaryProvider/tests/ApiaryProvider.DesignTime.Tests/bin/Release/ApiaryProvider.DesignTime.Tests.dll" "-xml:TestResults.xml" "-framework:4.0" "-domain:Multiple" 
mono  /Users/travis/build/fsprojects/ApiaryProvider/tools/Nunit/nunit-console.exe "-nologo" "-noshadow" "-labels" "/Users/travis/build/fsprojects/ApiaryProvider/tests/ApiaryProvider.DesignTime.Tests/bin/Release/ApiaryProvider.DesignTime.Tests.dll" "-xml:TestResults.xml" "-framework:4.0" "-domain:Multiple" 
Cannot open assembly '/Users/travis/build/fsprojects/ApiaryProvider/tools/Nunit/nunit-console.exe': No such file or directory.
Running build failed.
ovatsus commented 10 years ago

@forki any idea? the nunit-runners package is there

forki commented 10 years ago

I think you need to do restorepackages somewhere in the build script. MSBuild restores only referenced packages.

ovatsus commented 10 years ago

Humm, but it works in AppVeyor, and FSharp.Data has the same setup. I'll add the explicit package restore then