Created
March 22, 2014 22:14
-
-
Save balser/9715264 to your computer and use it in GitHub Desktop.
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
$ git clone --depth=50 --recursive --branch=master git@github.com:balser/drone-rails-pg.git /var/cache/drone/src/github.com/balser/drone-rails-pg | |
Cloning into '/var/cache/drone/src/github.com/balser/drone-rails-pg'... | |
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts. | |
$ git checkout -qf f7482e3b2d9386eb601305fec58ac552d94570d2 | |
$ bundle install --quiet | |
$ cp config/drone.database.yml config/database.yml | |
$ psql -c 'create database test;' -U postgres -h 127.0.0.1 | |
CREATE DATABASE | |
$ bin/rake db:schema:load | |
*** drone logging initialized *** | |
-- enable_extension("plpgsql") |
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
$ git clone --depth=50 --recursive --branch=master git@github.com:balser/drone-rails-pg.git /var/cache/drone/src/github.com/balser/drone-rails-pg | |
Cloning into '/var/cache/drone/src/github.com/balser/drone-rails-pg'... | |
Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts. | |
$ git checkout -qf ddb2ef6f6b841c955a76722bd931c726057477b1 | |
$ bundle install --quiet | |
$ cp config/drone.database.yml config/database.yml | |
$ psql -c 'create database test;' -U postgres -h 127.0.0.1 | |
CREATE DATABASE | |
$ bin/rake db:structure:load --trace | |
** Invoke db:structure:load (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Invoke db:load_config (first_time) | |
** Execute db:load_config | |
** Execute db:structure:load | |
*** drone logging initialized *** | |
$ exit 0 |
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
$ git clone --depth=50 --recursive --branch=master git@github.com:balser/drone-rails-pg.git /var/cache/drone/src/github.com/balser/drone-rails-pg | |
Cloning into '/var/cache/drone/src/github.com/balser/drone-rails-pg'... | |
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts. | |
$ git checkout -qf 6d0c1cc6ee28ba099f29de0d4587e03de74b31ae | |
$ bundle install --quiet | |
$ cp config/drone.database.yml config/database.yml | |
$ psql -c 'create database test;' -U postgres -h 127.0.0.1 | |
CREATE DATABASE | |
$ bin/rake test --trace | |
** Invoke test (first_time) | |
** Execute test | |
** Invoke test:run (first_time) | |
** Invoke test:units (first_time) | |
** Invoke test:prepare (first_time) | |
** Invoke db:test:prepare (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
** Invoke db:load_config (first_time) | |
** Execute db:load_config | |
** Execute db:test:prepare | |
** Invoke db:test:load (first_time) | |
** Invoke db:test:purge (first_time) | |
** Invoke environment | |
** Invoke db:load_config | |
** Execute db:test:purge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment