Commit b95174b7 authored by gwenn's avatar gwenn

Try to fix Travis build.

parent 75565d48
......@@ -18,9 +18,11 @@ func init() {
if err != nil {
panic(fmt.Sprintf("couldn't disable shared cache: '%s'", err))
}
err = ConfigMMapSize(0, 268435456)
if err != nil {
panic(fmt.Sprintf("cannot change mmap size: '%s'", err))
if VersionNumber() >= 3007017 {
err = ConfigMMapSize(0, 268435456)
if err != nil {
panic(fmt.Sprintf("cannot change mmap size: '%s'", err))
}
}
}
......
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