Skip to content

Commit f7b3048

Browse files
authored
db:seed を追加
RSpec の中の処理で prefectures T にマスタデータが必要なため、db:seed を追加
1 parent ec7b0ae commit f7b3048

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ before_script:
2222
- psql -c 'create database coderdojo_jp_test;' -U postgres
2323
script:
2424
- bundle exec rake db:migrate --trace
25+
- bundle exec rake db:seed --trace
2526
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bundle exec rspec spec; fi
2627
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_PULL_REQUEST_SLUG" = "coderdojo-japan/coderdojo.jp"
2728
]; then bundle exec rspec spec; fi

0 commit comments

Comments
 (0)