blob: 840fb0dfe5f2a8eb7f738f08b0f6c95073544bee [file] [log] [blame]
services:
- docker
install:
- docker build --pull -t datasketch-postgres:latest .
- docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d datasketch-postgres:latest
script:
- sleep 3
- docker logs some-postgres
- docker ps | grep -q some-postgres
- docker exec some-postgres psql -U postgres -c 'select theta_sketch_get_estimate(theta_sketch_build(1))'