Usage¶
The scikit-ci command line executable allows to execute commands associated with steps described in a scikit-ci configuration file.
Executing scikit-ci steps¶
Invoking scikit-ci will execute all steps listed in a scikit-ci configuration file:
ci
This command executes in order the steps listed below:
- before_install
- install
- before_build
- build
- test
- after_test
It also possible to execute a given step and its dependent steps:
ci build
In that case, the executed steps will be:
- before_install
- install
- before_build
- build
Note
Remember that:
- steps are executed following a specific ordering
- scikit-ci keeps track of previously executed steps.
- environment variables set in
step(n)
will be available instep(n+1)
. For more details, see Environment variable persistence
Calling scikit-ci through python -m ci
¶
You can invoke scikit-ci through the Python interpreter from the command line:
python -m ci [...]
This is equivalent to invoking the command line script ci [...]
directly.
Getting help on version, option names¶
ci --version # shows where ci was imported from
ci -h | --help # show help on command line