Yamashiro is a worker implementation in Rust, designed to process tasks sequentially for Travis CI.
- Create a worker with a unique ID
- Define tasks with IDs and durations
- Process tasks sequentially, simulating work with sleep durations
Clone the repository:
git clone https://github.com/Montana/yamashiro.git
cd yamashiro
Build the project:
cargo build
Run the project with:
cargo run
Run tests with cargo-pants
:
cargo pants --loud
To test cargo-pants
run:
cargo pants --pants_style JNCO
You should see something like this:
Once you do, enjoy using Yamashiro strategically in builds.
Michael Mendy (2024) for Travis CI, GmbH.