bitbucket-pipelines.yml
author Edouard Tisserant
Wed, 10 Mar 2021 09:59:18 +0100
changeset 2732 a3f0e4148714
parent 2295 dda34e671700
permissions -rw-r--r--
Runtime: Added PostStart methot to PLCObject, called after PLC is started, with all libraries and python object already created, and python extensions "Start" methods being called.
This is called before python thread processing py_eval blocks starts. Example purpose: attach additional ressource to web services
image: skvorl/beremiz-requirements

pipelines:
  default:
    - parallel:
        - step:
            name: Codestyle checks
            script:
              - ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
              - /usr/bin/python --version
              - ./tests/tools/check_source.sh
        - step:
            name: Application tests
            max-time: 10
            script:
              - ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
              - ./tests/tools/run_python_tests.sh