-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
463 additions
and
371 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 2.1 | ||
orbs: | ||
coveralls: coveralls/coveralls@1.0.6 | ||
ruby: circleci/ruby@1.0.2 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/ruby | ||
- image: circleci/postgres | ||
environment: | ||
POSTGRES_USER: circleci | ||
POSTGRES_DB: picturesque_test | ||
environment: | ||
BUNDLE_JOBS: 4 | ||
BUNDLE_RETRY: 4 | ||
BUNDLE_PATH: vendor/bundle | ||
BUNDLER_VERSION: 2.1.4 | ||
RAILS_ENV: test | ||
RACK_ENV: test | ||
PGHOST: localhost | ||
steps: | ||
- checkout | ||
- run: gem install bundler --version "$BUNDLER_VERSION" | ||
- ruby/install-deps | ||
- run: dockerize -wait tcp://localhost:5432 -timeout 2m # Postgres | ||
- ruby/rspec-test | ||
- coveralls/upload |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
language: ruby | ||
services: | ||
- postgresql | ||
rvm: | ||
- 2.2.2 | ||
- jruby-9.0.0.0 | ||
- 2.6.6 | ||
- 2.7.1 | ||
script: | ||
- "bundle exec rake db:setup db:migrate app:db:test:prepare" | ||
- "bundle exec rspec spec" | ||
- bundle exec rake db:setup db:migrate app:db:test:prepare | ||
- bundle exec rspec spec |
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
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
Oops, something went wrong.