Travis GemΒΆ
The following snippet installs travis gem (into container). For example to provide github token to Travis CI (so that it can push to github), you can run the following:
$ vagga travis encrypt --repo xxx/yyy --org GH_TOKEN=zzz
The vagga configuration for the command:
containers:
travis:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
- !Install [build-essential, ruby, automake, autoconf, libtool, make, ruby-dev]
- !Sh "gem install travis --no-rdoc --no-ri"
commands:
travis: !Command
container: travis
run: [travis]
environ: { HOME: /tmp }