Skip to main content

Command to tests program version.

Example of use:

Config file:

default_cmd: dpkg -l {package} | grep ^ii | awk '{{print $3}}'

main:
    python: # use python version
        cmd: /usr/bin/python --version 2>&1 | awk '{{print $2}}'
        version: 2.7
    python3: # use package verion
        version: 3.3

Command:

c2c.versions config.yaml main

This example tests that we have at least the version 2.7 of python 2 and the version 3.3 of python 3.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c2c.versions-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file c2c.versions-1.0.1.tar.gz.

File metadata

  • Download URL: c2c.versions-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for c2c.versions-1.0.1.tar.gz
Algorithm Hash digest
SHA256 66f058b48399cda8648b13b2e947a76abdab6ce25a4907c2f8ff85fb478f24a4
MD5 067017092f3022dd4c65a37aa280a294
BLAKE2b-256 b7c407d49648e1ebd2e7e7f64bd266997dec0bd12462db8f1ebe4b1033fd2815

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 file

1.0.0

1 file

0.4

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page