AMD64
no language set
Git
travis-ci/travis-yml:.travis.yml@193f9f1
language: ruby

cache: bundler
env:
  global:
    - PATH=/snap/bin:$PATH

before_install:
- gem install bundler -v '2.0.1'

jobs:
  include:
    - stage: "testing time"
      script:
        - bundle exec rspec spec
        - bundle exec rspec spec/integrate/configs_spec.rb --tag integration_configs
        - bundle exec rspec spec/integrate/matrix_spec.rb --tag integration_matrix

    - stage: ":ship: it to quay.io"
      addons:
        snaps:
        - name: docker
          channel: latest/stable
      language: ruby
      cache:
        bundler: false
      before_install: skip
      install: skip
      script: make ship
      if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
Build Config
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "cache": {
    "bundler": true
  },
  "env": {
    "global": [
      {
        "PATH": "/snap/bin:$PATH"
      }
    ]
  },
  "before_install": [
    "gem install bundler -v '2.0.1'"
  ],
  "jobs": {
    "include": [
      {
        "stage": "testing time",
        "script": [
          "bundle exec rspec spec",
          "bundle exec rspec spec/integrate/configs_spec.rb --tag integration_configs",
          "bundle exec rspec spec/integrate/matrix_spec.rb --tag integration_matrix"
        ]
      },
      {
        "stage": ":ship: it to quay.io",
        "addons": {
          "snaps": [
            {
              "name": "docker",
              "channel": "latest/stable"
            }
          ]
        },
        "language": "ruby",
        "cache": {
          "bundler": false
        },
        "before_install": [
          "skip"
        ],
        "install": [
          "skip"
        ],
        "script": [
          "make ship"
        ],
        "if": "(branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true"
      }
    ]
  }
}