This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplify use of docker to run postgres for tests (#49)
* chore: use docker for postgres by default replace compose and custom image with simple run command * use postgres 9.4 in travis * test against node 4, which npm uses in production * npm run release instead of npm run version * more useful npm run scripts * add notes about Docker and Postgres to README [skip ci]
- Loading branch information
Showing
9 changed files
with
24 additions
and
614 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,8 +1,11 @@ | ||
sudo: false | ||
language: node_js | ||
services: | ||
- postgres | ||
addons: | ||
postgresql: "9.4" | ||
node_js: | ||
- "5" | ||
- "4" | ||
before_script: | ||
- psql -c 'create database oauth2_server;' -U postgres | ||
after_success: npm run coverage |
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.