On 6/12/19 8:17 AM, Andrea Aime wrote:
The SQL server one I have not run in ages, tried quickly but could not get remote connections running (tried several guides, still not working, not sure where the issue is). May try again later down the road, I'm going through a couple of difficult
weeks right now.

not sure if there is an interest in running the sql server online tests on Travis, I've set up one of my jobs running integration tests on Travis w/ mssql 2017 on Ubuntu and it wasn't too difficult.

Basically use a profile/env var to install mssql in the build image, and run maven with the profile.

see: https://github.com/B3Partners/brmo/blob/master/.travis/install-mssql.sh (install) and https://github.com/B3Partners/brmo/blob/master/.travis/setup-mssql.sh (database/schema setup) and the travis.yml in that repo.

another option is using the docker version of mssql, eg.

docker pull microsoft/mssql-server-linux:2017-latest
# note `--rm` will delete the instance when stopped
docker run -e'ACCEPT_EULA=Y'  -e'MSSQL_SA_PASSWORD=Password12!'  --rm -p 
1433:1433 --name sql2017 -h sql2017 -d microsoft/mssql-server-linux:2017-latest

Appveyor also provides various (also older) mssql versions, but is even slower for free projects, also because they only run one job at a time.

Mark


_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to