AMD64
Ruby: 2.5.3
Git
This is the configuration for all of build #28, including this job
.travis.yml
language: ruby
dist: xenial
rvm: 2.5.3
services:
- redis
cache:
bundler: true
env:
global:
- COVERAGE=1
matrix:
- INTEGRATION_SPECS=0
- INTEGRATION_SPECS=1
stages:
- test
- ':ship: it to quay.io'
jobs:
allow_failures:
- script: ./script/docker-build-and-push
include:
- stage: test
env:
script: ./script/validate-example-payloads-with-docker
- stage: ':ship: it to quay.io'
env:
script: ./script/docker-build-and-push
if: type = cron OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
before_script:
- eval "$(script/handle-docker-config)"
- bundle exec rake clean assets:precompile
script:
- bundle exec rspec spec
- bundle exec rake shfmt
- bundle exec rake assert_clean
- bundle exec rake shellcheck
- bundle exec rake assert_examples
after_success: bundle exec codeclimate-test-reporter
after_failure: bundle exec rake dump_examples_logs
before_deploy:
- sudo pip install -U -I Pygments
- ./script/build-s3-index-html
deploy:
provider: s3
access_key_id:
secure: fXt5NG5UGDvpnRFvUUk9J//iSo+Vh28oEUJvjZqiUZ9GRHp5TrIS5vL4bPlD/1RrJRp7BVVj1+4ThXZRzrMhF5xazK8k4ANaUhMdjmRa6arXtqBcXIyUvu//5e80nlXekqMKaW7f5wrLNiKZB+ck7ayGlI1NYLNQ5nCWC6Xxe6s=
secret_access_key:
secure: Jn9clQh78C2c1zoueTkn0r5kSCHrbb7bMojb8/Ne+6zg0pD/3w25mrhEC4y9b3M/lHoKArOPj4dn03ZErJleM8aOMNMIa6ck8GKP+7EoFlZ/1/C5733HazlldTWDd2+wTOYfSIGOM+mHDP5tmK0S7pr1zEm+/++UExuGZXiCSSI=
bucket: travis-build-examples
local_dir: examples
skip_cleanup: true
region: us-east-1
on:
branch: master
condition: $INTEGRATION_SPECS == 1
repo: travis-ci/travis-build
edge: true
Build Config
{
"env": {
"global": [
"COVERAGE=1"
],
"matrix": [
"INTEGRATION_SPECS=0",
"INTEGRATION_SPECS=1"
]
},
"rvm": "2.5.3",
"dist": "xenial",
"jobs": {
"include": [
{
"env": null,
"stage": "test",
"script": "./script/validate-example-payloads-with-docker"
},
{
"if": "type = cron OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true",
"env": null,
"stage": ":ship: it to quay.io",
"script": "./script/docker-build-and-push"
}
],
"allow_failures": [
{
"script": "./script/docker-build-and-push"
}
]
},
"cache": {
"bundler": true
},
"deploy": {
"edge": true,
"true": {
"repo": "travis-ci/travis-build",
"branch": "master",
"condition": "$INTEGRATION_SPECS == 1"
},
"bucket": "travis-build-examples",
"region": "us-east-1",
"provider": "s3",
"local_dir": "examples",
"skip_cleanup": true,
"access_key_id": {
"secure": "RLKlqO86FSYsupK5JIjYCMiQ4cOpR9noDrTMRAgrQg1frvOSHifNyj64dr3k+Yuou4RAvUqGK8ap2g7xs5SETo2T9DwrifMqz8IrRGTVGaVCyVXlfhPxGyCT8Skcy52XY1MtA0Noq5ghQ+y/iNSinl9FA1Ej5Ra6leadTsj3DsONFaS08ngQc/CHSTgGSutEXwJlJPDyX/r3K3CzuYLD5u1Oyg/eQUqZbIDP3RKTZNBvRNUu/EbyD2HSmRkdwA4fdCeJdFAVx527TysyroNVriws19EU1b0Kw/UBhBpO94tC9gnTVO+ob6agnpvLtMhz+W0ZUAiDsah7F+GEwFUay7cqjkr0pahYGYjfTfKYgqfkHgOECfZosVebD0CGLDz8nCz/V8q7wU6adR7/iJgG5G/4RGrQykKGwetGTCQeNyZoepMAJroz41zc1yxXqUmd48Q97IBJ0MWefm+W37gYjoxUqTqHoWv3RwGfl8wgfsnNFj32OJGqcPG3+/8QaY6Bd1Sl9ak/6ayjBa4azCFVNbmVI0PWk45DVzGGAi/rTxlGVI0Nv4LvGR7G8HtsUO6Jr8NYcK7P6RyknQp48vNtHUvn5qlj+sWzJDAlDCAQBlMv3imcm6Ftn89mtBzCGL5EKagJ8o0Id6VvncP7VIbWg3og3lMpP97K4JakvgHTcXs="
},
"secret_access_key": {
"secure": "UA64bsqY6M9vqoCEXw7y+xlFynEtO9d0YNQ6jGegpqV5le505cIOCGbOnoGgxwi2an970+l4jYdUlBVMzFh4nnnmLnSaOrQH1L6ybEdhrhPgrHbmw6dJbjHTG0KHFQUFQ79Uv+vlNgyLC47J2SJhUgGIYk9D3Wj1XOrpEbT3eP6stXxMPg0oexZ3VKpc+JaErn3rO5FkkbfxBG3LBhDM8qtO7QrrUdNqsihex3wyXK9U827dN6mb61PDhEA5P+s9SgaumNULZLKPS77wR0CVporAUcr0++8iULnNd/dRNDqOJX5/z+sjy+p5d2KU9uWxBXNPVtHN3tWNPMQ1r2eLA/c3TVo05DcjDqgKvzv5dcbr77KPDZ4x06CmOT9i5K9xjD5MPaZLLbsjnvyKLAcF+LVGVC/V+Mh5U2ieGapgGho8n8AuWcaEeQ/GP0mMOD2ysQo6hm6Xrg0Miu5T8Z6XW2bcf8hDzjJuCKxSEn5cKSe660Yph9/kx/3/T73dknPpvdJyLxbegwbDyXmhJyUdbXFpDXr2j7mx7//DAPVen74CHo2wqnYnmmYtYQuqRBYCTN7GCBrEl3Qz0KeBVewZKP/j3tfHZbqY0EWVVH+zfKsgfUiuGlXMcWndgziCmwTM33cC/o5ShNktJTRBtb8XjQl5xrGhBHCbt9opdxtqxeU="
}
},
"script": [
"bundle exec rspec spec",
"bundle exec rake shfmt",
"bundle exec rake assert_clean",
"bundle exec rake shellcheck",
"bundle exec rake assert_examples"
],
"stages": [
"test",
":ship: it to quay.io"
],
"language": "ruby",
"services": [
"redis"
],
"after_failure": "bundle exec rake dump_examples_logs",
"after_success": "bundle exec codeclimate-test-reporter",
"before_deploy": [
"sudo pip install -U -I Pygments",
"./script/build-s3-index-html"
],
"before_script": [
"eval \"$(script/handle-docker-config)\"",
"bundle exec rake clean assets:precompile"
]
}