Bring Your Own Environment: Introducing Customized Images for Linux
We begin 2026 with the introduction of a new feature – Customized Images for Linux builds. Any user who has…
written by
reviewed by
written by
reviewed by
What if our goal is to on every commit is to trigger a publishing to ‘master’ branch or another base branch?
So you’ll need to tell Travis to grab a package called DataHub in your .travis.yml, then in your script tell DataHub to push, let me give you an example .travis.yml:
language: node_js
node_js:
- "8"
install: npm install -g data-cli
script: data push --public
branches:
only:
- master
You’ll see we called to install data-cli globally – once that was met, we used a script hook to run data push --public.
You’ll need your environment variables from DataHub, so before you start building grab those or your build will end up breaking.
As always, if you have any questions, please email me at [email protected] for help.
Happy building!
written by
reviewed by