You can do so by adding the following line to your
before_script: - psql template1 -c 'create extension hstore;'
Make sure that's the first line in the
before_script block. If you create a database before that line, the database won't have that extension enabled.
Like this post? Follow @shimewastaken on Twitter for more content like this.