mirror of
https://github.com/discourse/discourse.git
synced 2025-04-29 04:04:36 +08:00
Upgrade docker:test to use PG 10.
This commit is contained in:
parent
b1cc368da8
commit
4f7f733ab0
@ -56,7 +56,7 @@ task 'docker:test' do
|
|||||||
puts "Starting background redis"
|
puts "Starting background redis"
|
||||||
@redis_pid = Process.spawn('redis-server --dir tmp/test_data/redis')
|
@redis_pid = Process.spawn('redis-server --dir tmp/test_data/redis')
|
||||||
|
|
||||||
@postgres_bin = "/usr/lib/postgresql/9.5/bin/"
|
@postgres_bin = "/usr/lib/postgresql/10/bin/"
|
||||||
`#{@postgres_bin}initdb -D tmp/test_data/pg`
|
`#{@postgres_bin}initdb -D tmp/test_data/pg`
|
||||||
|
|
||||||
# speed up db, never do this in production mmmmk
|
# speed up db, never do this in production mmmmk
|
||||||
|
Loading…
x
Reference in New Issue
Block a user