1234567891011121314151617181920 |
- #!/bin/bash
- set -e
- export PGUSER=postgres
- su -c '/usr/lib/postgresql/9.6/bin/initdb -D /var/lib/postgresql/data -E "UTF-8" --lc-collate="en_US.UTF-8" --lc-ctype="en_US.UTF-8" --username=postgres' postgres
- su -c '/usr/lib/postgresql/9.6/bin/pg_ctl -w -D /var/lib/postgresql/data start' postgres
- cd /src
- export TRIAL_FLAGS="-j 4"
- tox --workdir=/tmp -e py35-postgres
|