AMD64
Ruby
Git
api
travis-ci/container-example:.travis.yml@6066470
language: ruby
cache:
directories:
- $HOME/protobuf
sudo: false
before_install:
- bash install-protobuf.sh
# check what has been installed by listing contents of protobuf folder
before_script:
- ls -R $HOME/protobuf
# let's use protobuf
script:
- $HOME/protobuf/bin/protoc --cpp_out=$PWD person.proto
- ls -l
Build Config
{
"language": "ruby",
"os": [
"linux"
],
"dist": "xenial",
"cache": {
"directories": [
"$HOME/protobuf"
]
},
"sudo": false,
"before_install": [
"bash install-protobuf.sh"
],
"before_script": [
"ls -R $HOME/protobuf"
],
"script": [
"$HOME/protobuf/bin/protoc --cpp_out=$PWD person.proto",
"ls -l"
]
}