Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code #923

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

* Fixed rubocop issues

ff8edce
Select commit
Loading
Failed to load commit list.
Open

Refactor code #923

* Fixed rubocop issues
ff8edce
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch failed Nov 12, 2024 in 5m 21s

Build Failed

The build failed, just like the previous build.

Details

This is a normal build for the MLN-799 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Xenial)
Ruby Version 2.5.7
Build Configuration
{
  "language": "ruby",
  "rvm": [
    "2.5.7"
  ],
  "before_install": [
    "gem --version",
    "gem install bundler -v '< 2'",
    "bundle config --global github.https true"
  ],
  "before_script": [
    "bundle exec rubocop"
  ],
  "services": [
    "postgresql"
  ],
  "script": [
    "bundle install",
    "psql -c \"CREATE DATABASE mln_test;\" -U postgres",
    "bundle exec rake db:schema:load RAILS_ENV=test",
    "bundle exec rake db:migrate RAILS_ENV=test",
    "bundle exec rake combined_tests:test"
  ],
  "deploy": [
    {
      "provider": "elasticbeanstalk",
      "skip_cleanup": true,
      "access_key_id": "$AWS_ACCESS_KEY_ID_DEVELOPMENT",
      "secret_access_key": "$AWS_SECRET_ACCESS_KEY_DEVELOPMENT",
      "region": "us-east-1",
      "app": "my-library-nyc-app",
      "env": "my-library-nyc-app-dev-1002",
      "bucket_name": "elasticbeanstalk-us-east-1-224280085904",
      "bucket_path": "my-library-nyc-app-dev-1002",
      "true": {
        "repo": "NYPL/MyLibraryNYCApp",
        "branch": "development"
      }
    },
    {
      "provider": "elasticbeanstalk",
      "skip_cleanup": true,
      "access_key_id": "$AWS_ACCESS_KEY_ID_QA",
      "secret_access_key": "$AWS_SECRET_ACCESS_KEY_QA",
      "region": "us-east-1",
      "app": "my-library-nyc-app",
      "env": "my-library-nyc-app-qa25",
      "bucket_name": "elasticbeanstalk-us-east-1-946183545209",
      "bucket_path": "my-library-nyc-app-qa",
      "true": {
        "repo": "NYPL/MyLibraryNYCApp",
        "branch": "qa"
      }
    },
    {
      "provider": "elasticbeanstalk",
      "skip_cleanup": true,
      "access_key_id": "$AWS_ACCESS_KEY_ID_PRODUCTION",
      "secret_access_key": "$AWS_SECRET_ACCESS_KEY_PRODUCTION",
      "region": "us-east-1",
      "app": "my-library-nyc-app",
      "env": "my-library-nyc-app-production",
      "bucket_name": "elasticbeanstalk-us-east-1-946183545209",
      "bucket_path": "my-library-nyc-app-production",
      "true": {
        "repo": "NYPL/MyLibraryNYCApp",
        "branch": "master"
      }
    }
  ],
  "global_env": [
    "AWS_ACCESS_KEY_ID_DEVELOPMENT=[secure] AWS_SECRET_ACCESS_KEY_DEVELOPMENT=[secure] AWS_ACCESS_KEY_ID_QA=[secure] AWS_SECRET_ACCESS_KEY_QA=[secure] AWS_ACCESS_KEY_ID_PRODUCTION=[secure] AWS_SECRET_ACCESS_KEY_PRODUCTION=[secure]"
  ],
  "os": "linux",
  "group": "stable",
  "dist": "xenial"
}