We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fc641 commit a679f4aCopy full SHA for a679f4a
.travis.yml
@@ -6,4 +6,4 @@ services:
6
- docker
7
8
script:
9
-- docker-compose -f docker-compose-test.yaml up --force-recreate --build test-runner
+- docker-compose -f docker-compose-test.yaml up --force-recreate --exit-code-from test-runner --build test-runner
test/DatatablesParser.Tests/test-runner.sh
@@ -1,10 +1,11 @@
1
#!/bin/bash
2
3
echo "Restore and build while db servers are starting"
4
+
5
dotnet restore
dotnet build
echo "Testing connections to test db servers"
-while ! nc -w 1 mssql 1433 && nc -w 1 mysql 3306 ; do
+while ! ( nc -w 1 mssql 1433 &> /dev/null && nc -w 1 mysql 3306 &> /dev/null ) ; do
sleep 1;
10
echo "Test db servers not ready. Trying again"
11
done
0 commit comments