UNPKG

sails-postgresql

Version:

a PostgreSQL adapter for Waterline and Sails.js

36 lines (30 loc) 1.17 kB
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ╔╦╗╦═╗╔═╗╦ ╦╦╔═╗ ┬ ┬┌┬┐┬ # # ║ ╠╦╝╠═╣╚╗╔╝║╚═╗ └┬┘││││ # # o ╩ ╩╚═╩ ╩ ╚╝ ╩╚═╝o ┴ ┴ ┴┴─┘ # # # # This file configures Travis CI. # # (i.e. how we run the tests... mainly) # # # # https://docs.travis-ci.com/user/customizing-the-build # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # language: node_js node_js: - "12" - "14" - "16" services: postgresql addons: postgresql: "9.4" env: - WATERLINE_ADAPTER_TESTS_HOST=127.0.0.1 WATERLINE_ADAPTER_TESTS_USER=postgres WATERLINE_ADAPTER_TESTS_PASSWORD='' WATERLINE_ADAPTER_TESTS_DATABASE=adapter-tests before_install: - npm i -g npm@8.11.0 before_script: - psql -c 'create database "adapter-tests";' -U postgres branches: only: - master notifications: email: - ci@sailsjs.com