AMD64
Ruby: 2.5.3
Git
INTEGRATION_SPECS=0
This is the configuration for all of build #25, 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: NOT type IN (pull_request) AND branch = master
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": "NOT type IN (pull_request) AND branch = master",
"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": "MJl5fO66DxqI4IObnqK0YPf93a9jl69IxTdq2dDmvLbTVrsx6qfuxwaJuBoVn07ulE62klIbTPL/ex3zfjK9Esu6HTFPi15kBTp7QUVt7cN8xz9/8xsHMR9uKvflUAKBXEdvTpcwVG0Tc0Q55ZSk0+iqvMTAsc2Wprbh2f4jemxDewYB8ax9OGnCz1hDUbhVVJl6IikhkGuGScPNWU0JIGngZmgAh1E87/McvGHJ0bAjSDMgN27DoRHVqJUsXKVmlAGgmPOuSqRsJ4xJ4DSbDFrWKRgFxFTUEYOUVsVcK8RqX+ujCMvVjR5nXryXkoVAgNmyqLTqpa6LJK+U236I8MRJc3KrouC8Q9ejJ4zGCxm9f+vs+buKPZTb8hgSVNK4Cv4oDm5nlVJ6I+j84h9wLZ/uIcOe+JKmQyhbr7E4UPTxwimdaH26EAKt3QMjVyp76S0k7/JqN4zak9wllSjpW7l3Kr5FoclzPMmpsruJLZPWwWuVjGaPW3KCLZ1rh0tp7QcOXH0mtD59PEBOAk+exw5yNcz/I3CM13qNxIwUJ8zb67yD5Li+UVAPR1tOM4YLlhqX27LMh4MW/QIzOLwoqEdFPa2YNXVTFt9oJ+LZVNGiKGHvhK+xozypblE8n5VKOpFe5PW7+C4gkBO3yF+kHurngnEj6NlLuQRL/RKOo1g="
},
"secret_access_key": {
"secure": "xJcSVG7fSNb6t0DMRt0PdFrCk1yiAyFoNbXa78ui38RrBN8WPOreLheJUIzuVlXnvsv5jrenuN0QsNyBlkJG6xEPczAgFIX44MF83SEDQrA5St/EKrgadpMDPCSWXS1i6e3r4V2nLw9jPs6dsy3T6fUgOAfaDvR5n3V0Mq7ac6SJ20+/PFs565D9/uTtHtz/FiNGmUmxi13SpebJ4rJGOM9/nqixgn/fSZ+UU+vmnrJ10bjHWstALFZ4SPLHujE6CwBpQFElpZb+iZaisp6Slub7FUIzF4m7DbSgr2lewR/X7z3MxtjxhMJ6TxIdrCGg/dQ44svX0Ll0DZjF4jqtLDWrEbuUv98c0tVfKQgFp8YTJipK7uJsjT+83cw74emprDubXeKsRX8/Qoiol4B1Q75GbIkcUF6W/8tYe/SfKDppgfy6J+DEYrIVTIBdtORa4d0zjh3Gozgi3Sq66Ql9QHz9+gP7jKf/wEp+ALSaQkNSQ2JOLardlmm3CVM9vvEfMyvf+TtQ7cf83AV92oqfkY2wAk/Y425AjAXmVFbu5STQVcWCTPhfFW/ZGiNy/lEaxw1TyUFeELmidKg5Mv7cwuGEqtI/jCSNLmpT31/0AMsuRHVyFFDN37Vy++cn/1ox3sYkexm1qXt9ZVgqzsxGY7ufAe+KrteLkJ/GKMSR+zE="
}
},
"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"
]
}