Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Exit with error code when create-test-tables fails * Add PostgreSQL 10 to CI and change to Ubuntu 18.04 so building OpenSSL isn’t necessary, and move old PostgreSQL version tests to the latest Node LTS. * Add Node 13 to CI * Preserve create-test-tables’s compatibility with PostgreSQL <9.4
- Loading branch information
1 parent
30f67bb
commit 8f56b8c
Showing
5 changed files
with
66 additions
and
122 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,56 @@ | ||
language: node_js | ||
sudo: true | ||
dist: trusty | ||
dist: bionic | ||
|
||
before_script: | ||
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/postgres | ||
|
||
before_install: | ||
- if [ $TRAVIS_OS_NAME == "linux" ]; then | ||
if [[ $(node -v) =~ v[1-9][0-9] ]]; then | ||
source ./ci_scripts/build.sh; | ||
fi | ||
fi | ||
|
||
|
||
env: | ||
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres | ||
|
||
node_js: | ||
- lts/dubnium | ||
- lts/erbium | ||
- 13 | ||
|
||
addons: | ||
postgresql: "10" | ||
|
||
matrix: | ||
include: | ||
- node_js: "lts/boron" | ||
addons: | ||
postgresql: "9.6" | ||
- node_js: "lts/argon" | ||
addons: | ||
postgresql: "9.6" | ||
- node_js: "10" | ||
# different Node versions on PostgreSQL 9.5 that require precise | ||
- node_js: lts/argon | ||
addons: | ||
postgresql: "9.6" | ||
- node_js: "12" | ||
addons: | ||
postgresql: "9.6" | ||
- node_js: "lts/carbon" | ||
postgresql: "9.5" | ||
dist: precise | ||
- node_js: lts/boron | ||
addons: | ||
postgresql: "9.1" | ||
postgresql: "9.5" | ||
dist: precise | ||
- node_js: "lts/carbon" | ||
- node_js: lts/carbon | ||
addons: | ||
postgresql: "9.2" | ||
- node_js: "lts/carbon" | ||
postgresql: "9.5" | ||
dist: precise | ||
|
||
# different PostgreSQL versions on Node LTS | ||
- node_js: lts/erbium | ||
addons: | ||
postgresql: "9.3" | ||
- node_js: "lts/carbon" | ||
- node_js: lts/erbium | ||
addons: | ||
postgresql: "9.4" | ||
- node_js: "lts/carbon" | ||
- node_js: lts/erbium | ||
addons: | ||
postgresql: "9.5" | ||
- node_js: "lts/carbon" | ||
- node_js: lts/erbium | ||
addons: | ||
postgresql: "9.6" | ||
|
||
# PostgreSQL 9.1 and 9.2 only work on precise | ||
- node_js: lts/carbon | ||
addons: | ||
postgresql: "9.1" | ||
dist: precise | ||
- node_js: lts/carbon | ||
addons: | ||
postgresql: "9.2" | ||
dist: precise |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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