Created
April 5, 2021 08:43
-
-
Save mustafa-travisci/660c87993d8c69338b3153c8d35e0101 to your computer and use it in GitHub Desktop.
PostgreSQL12 + Node10.x.x on Xenial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: node_js | |
node_js: | |
- "10.23.0" | |
addons: | |
postgresql: "12" | |
apt: | |
packages: | |
- postgresql-12 | |
- postgresql-client-12 | |
env: | |
global: | |
- PGPORT=5433 | |
- PGUSER=travis | |
before_install: | |
- sudo sed -i -e "/local.*peer/s/postgres/all/" -e "s/peer\|md5/trust/g" /etc/postgresql/*/main/pg_hba.conf | |
- postgres --version | |
before_script: | |
- psql -Utravis -p5433 -c 'create database travis_ci_test;' | |
- psql -p5433 -c "SELECT version();" | |
script: echo "Your build script here please." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment