You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

1 year ago
  1. #!/usr/bin/env bash
  2. #
  3. # Generated by: https://github.com/swagger-api/swagger-codegen.git
  4. #
  5. wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  6. mozroots --import --sync
  7. echo "[INFO] remove bin/Debug/SwaggerClientTest.dll"
  8. <<<<<<< Updated upstream
  9. rm src/CircleSDK.Test/bin/Debug/CircleSDK.Test.dll 2> /dev/null
  10. =======
  11. rm src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll 2> /dev/null
  12. >>>>>>> Stashed changes
  13. echo "[INFO] install NUnit runners via NuGet"
  14. wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  15. mozroots --import --sync
  16. <<<<<<< Updated upstream
  17. mono nuget.exe install src/CircleSDK.Test/packages.config -o packages
  18. =======
  19. mono nuget.exe install src/IO.Swagger.Test/packages.config -o packages
  20. >>>>>>> Stashed changes
  21. echo "[INFO] Install NUnit runners via NuGet"
  22. mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages
  23. echo "[INFO] Build the solution and run the unit test"
  24. <<<<<<< Updated upstream
  25. xbuild CircleSDK.sln && \
  26. mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/CircleSDK.Test/bin/Debug/CircleSDK.Test.dll
  27. =======
  28. xbuild IO.Swagger.sln && \
  29. mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/IO.Swagger.Test/bin/Debug/IO.Swagger.Test.dll
  30. >>>>>>> Stashed changes