Adapt travis matrix
This commit is contained in:
parent
b5be2ee38c
commit
bc0fe87942
54
.travis.yml
54
.travis.yml
@ -2,43 +2,25 @@ language: node_js
|
||||
sudo: false
|
||||
dist: trusty
|
||||
before_script:
|
||||
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/postgres
|
||||
- node script/create-test-tables.js pg://postgres@127.0.0.1:$PGPORT/postgres
|
||||
env:
|
||||
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres
|
||||
|
||||
node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
env:
|
||||
- POSTGRESQL_VERSION="9.5"
|
||||
- POSTGRESQL_VERSION="10"
|
||||
|
||||
node_js:
|
||||
- "6"
|
||||
- "8"
|
||||
|
||||
|
||||
before_install:
|
||||
- sudo service postgresql stop;
|
||||
- sudo apt-get install -y --allow-unauthenticated --no-install-recommends --no-install-suggests postgresql-$POSTGRESQL_VERSION postgresql-client-$POSTGRESQL_VERSION postgresql-server-dev-$POSTGRESQL_VERSION
|
||||
- echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" | sudo tee /etc/postgresql/$POSTGRESQL_VERSION/main/pg_hba.conf
|
||||
- export PGPORT=`grep ^port /etc/postgresql/$POSTGRESQL_VERSION/main/postgresql.conf | awk '{print $3}'`
|
||||
- export PGUSER=postgres
|
||||
- export PGDATABASE=postgres
|
||||
- sudo service postgresql restart $POSTGRESQL_VERSION;
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- node_js: "0.10"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
env: []
|
||||
- node_js: "0.12"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
env: []
|
||||
- node_js: "4"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
- node_js: "5"
|
||||
addons:
|
||||
postgresql: "9.6"
|
||||
- node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.1"
|
||||
dist: precise
|
||||
- node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.2"
|
||||
- node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.3"
|
||||
- node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.4"
|
||||
- node_js: "6"
|
||||
addons:
|
||||
postgresql: "9.5"
|
||||
|
Loading…
Reference in New Issue
Block a user