-
Notifications
You must be signed in to change notification settings - Fork 2
Implicit jobs
Justin Scott edited this page Jul 3, 2015
·
2 revisions
Implicit jobs are loaded from a file after the job has been running. Just like Travis-CI will read .travis.yml
from your repo and run that job, Robot Sweatshop will look for .robot_sweatshop.yaml
and interpret it as a second job that will run after the first. It will use the commands
and environment
for this job only.
To easily take advantage of this, install the Sweatshop Gears package with sweatshop gears install git-sync
and use a job like this as your base:
---
commands:
- git-sync myrepo.git ./
This will clone your repo down to the working directory where it can find .robot_sweatshop.yaml
at the root and run it.