AMD64
Ruby
Git
travis-ci/travis-yml:.travis.yml@fa55919
language: ruby
cache: bundler
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 configs
# - bundle exec bin/spec > spec.json
# - git diff --stat --exit-code
# - git diff --stat --cached --exit-code
- stage: ":ship: it to quay.io"
language: ruby
cache:
bundler: false
before_install: skip
install: skip
script: make ship
if: type = cron OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
Build Config
{
"os": [
"linux"
],
"jobs": {
"include": [
{
"stage": "testing time",
"script": [
"bundle exec rspec spec",
"bundle exec rspec spec/integrate/configs_spec.rb --tag configs"
]
},
{
"if": "type = cron OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true",
"cache": {
"bundler": false
},
"stage": ":ship: it to quay.io",
"script": [
"make ship"
],
"install": [
"skip"
],
"language": "ruby",
"before_install": [
"skip"
]
}
]
},
"cache": {
"bundler": true
},
"language": "ruby",
"before_install": [
"gem install bundler -v '2.0.1'"
]
}