bitbucket-pipelines.yml
changeset 1810 70768bd1dab3
parent 1796 4f7a0c40a7c3
child 1820 76f5eba31afd
equal deleted inserted replaced
1809:3f0a552549d1 1810:70768bd1dab3
     3 pipelines:
     3 pipelines:
     4   custom: # Pipelines that are triggered manually
     4   custom: # Pipelines that are triggered manually
     5     checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
     5     checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
     6         - step:
     6         - step:
     7             script: # Modify the commands below to build your repository.
     7             script: # Modify the commands below to build your repository.
     8               - python --version
     8               - /usr/bin/python --version
     9               - ./tests/tools/check_source.sh
     9               - ./tests/tools/check_source.sh
    10               - /usr/bin/python ./tests/tools/test_application.py
    10               - Xvfb :42 -screen 0 1280x1024x24 &
       
    11               - DISPLAY=:42 pytest --timeout=10 ./tests/tools
       
    12               - pkill -9 Xvfb
    11 
    13 
    12   default:
    14   default:
    13     - step:
    15     - step:
    14         script: # Modify the commands below to build your repository.
    16         script: # Modify the commands below to build your repository.
    15           - python --version
    17           - /usr/bin/python --version
    16           - ./tests/tools/check_source.sh
    18           - ./tests/tools/check_source.sh
    17           - /usr/bin/python ./tests/tools/test_application.py
    19           - Xvfb :42 -screen 0 1280x1024x24 &
       
    20           - DISPLAY=:42 pytest --timeout=10 ./tests/tools
       
    21           - pkill -9 Xvfb
       
    22