Commit aada4607 authored by Stan Hu's avatar Stan Hu

Turn off database durability settings in CI

As described in
https://www.postgresql.org/docs/current/non-durability.html, we can save
money and time by disabling durability in tests.
parent 7728212b
......@@ -78,13 +78,15 @@ stages:
.use-pg: &use-pg
services:
- postgres:9.6
- redis:alpine
- name: postgres:9.6
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
- name: redis:alpine
.use-pg-10: &use-pg-10
services:
- postgres:10.0
- redis:alpine
- name: postgres:10.0
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
- name: redis:alpine
.use-mysql: &use-mysql
services:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment