Push event #2845 errored

  • Ran for
  • Total time
  • New branch build
travis-ci/travis-scheduler:.travis.yml@903721a
language: ruby
dist: trusty
rvm: 2.4.2

import:
  - travis-ci/build-configs:db-setup.yml

cache:
  bundler: true

services:
- redis
- rabbitmq

env:
  matrix:
  - RAKE_TASK=spec
  global:
    secure: BdVC3OHqYcgePLrkKIk28Ewn/dxCYFf3Cx+Q8P+BCDj6UPJyRSbKmILBzuX96H5xhKmUFo0A/upUhJI9UUP9aXHO7MzRe04/c88QdO4wGacVUaIyB20S0pr262zbc/nA50K9cVgpmWc64n6uQR1tgM6ZyyBnBeXkLzCAOHPq99I=

before_install: gem install bundler

jobs:
 include:
   - stage: "testing time"
     script: bundle exec rspec spec
   - stage: ":ship: it to quay.io"
     ruby:
     services:
     addons:
     before_install: skip
     install: skip
     script: make ship
travis-ci/build-configs:db-setup.yml@master
dist: xenial

before_install:
  - sudo apt-get install -yq --no-install-suggests --no-install-recommends postgresql-common
  - sudo service postgresql stop
  - sudo apt install -yq --no-install-suggests --no-install-recommends postgresql-11 postgresql-client-11
  - sed -e 's/^port.*/port = 5432/' /etc/postgresql/11/main/postgresql.conf > postgresql.conf
  - sudo chown postgres postgresql.conf
  - sudo mv postgresql.conf /etc/postgresql/11/main
  - sudo cp /etc/postgresql/{10,11}/main/pg_hba.conf
  - sudo service postgresql start 11

before_script:
  - psql --version
  - psql -c 'CREATE DATABASE travis_test;' -U postgres
  - psql -t -c "SELECT 1 FROM pg_roles WHERE rolname='travis'" -U postgres | grep 1 || psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres
  - curl -fs https://raw.githubusercontent.com/travis-ci/travis-migrations/master/db/main/structure.sql | psql -v ON_ERROR_STOP=1 travis_test
Build Config
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "rvm": [
    "2.4.2"
  ],
  "cache": {
    "bundler": true
  },
  "services": [
    "redis",
    "rabbitmq"
  ],
  "env": {
    "global": [
      {
        "secure": "BdVC3OHqYcgePLrkKIk28Ewn/dxCYFf3Cx+Q8P+BCDj6UPJyRSbKmILBzuX96H5xhKmUFo0A/upUhJI9UUP9aXHO7MzRe04/c88QdO4wGacVUaIyB20S0pr262zbc/nA50K9cVgpmWc64n6uQR1tgM6ZyyBnBeXkLzCAOHPq99I="
      }
    ],
    "jobs": [
      {
        "RAKE_TASK": "spec"
      }
    ]
  },
  "before_install": [
    "gem install bundler"
  ],
  "jobs": {
    "include": [
      {
        "stage": "testing time",
        "script": [
          "bundle exec rspec spec"
        ]
      },
      {
        "stage": ":ship: it to quay.io",
        "services": [],
        "before_install": [
          "skip"
        ],
        "install": [
          "skip"
        ],
        "script": [
          "make ship"
        ]
      }
    ]
  },
  "before_script": [
    "psql --version",
    "psql -c 'CREATE DATABASE travis_test;' -U postgres",
    "psql -t -c \"SELECT 1 FROM pg_roles WHERE rolname='travis'\" -U postgres | grep 1 || psql -c 'CREATE ROLE travis SUPERUSER LOGIN CREATEDB;' -U postgres",
    "curl -fs https://raw.githubusercontent.com/travis-ci/travis-migrations/master/db/main/structure.sql | psql -v ON_ERROR_STOP=1 travis_test"
  ]
}