I’m new here. I’am using Travis CI and I would like to test the app with a MS SQL Server Database. I First tried to run a linux docker image, but unfortunately Linux Images are not supported on the Travis CI Windows Environment. So I decided to use a Windows Image like that:
The command "docker run --name=mssql-server-windows-latest -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=YourStrong!Passw0rd' -p 1433:1433 -d microsoft/mssql-server-windows-developer" failed and exited with 125 during .
Your build has been stopped.
C:\Program Files\Docker\docker.exe: failed to register layer: re-exec error: exit status 1: output: BackupWrite \\?\C:\ProgramData\docker\windowsfilter\0f7927ece702a909903b1c8b3ab8e01feae62a713d824e7bf835b6e9c6444fd3\Files\Windows\IME\IMEJP\DICTS\SDDS0411.DIC: There is not enough space on the disk.
I’m starting a script file, loading the PowerShell SqlServer Module. I have put the module nupkg file in my project repository and changed the file extension to zip. The zip file is then unzipped in the users’s modules folder and the module is imported. https://www.powershellgallery.com/packages/Sqlserver/21.1.18218. Finally I’m creating the database and executing the .sql script file using invoke-sqlcmd.