bitbucket-pipelines.yml
author Edouard Tisserant
Tue, 26 May 2020 09:58:20 +0200
changeset 2645 d15a997859b1
parent 2295 dda34e671700
permissions -rw-r--r--
Solve import order problem when POULibrary imports ConfigTreeNode because of UserAddressedException. Now UserAddressedException is declared in POULibrary.py, as a quick and dirty fix, but some independant module should be created for beremiz exceptions in general.
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