bitbucket-pipelines.yml
changeset 1820 76f5eba31afd
parent 1810 70768bd1dab3
child 1880 e5ddbaf756cb
equal deleted inserted replaced
1819:27976d1606a4 1820:76f5eba31afd
     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               - /usr/bin/python --version
     8               - /usr/bin/python --version
     9               - ./tests/tools/check_source.sh
     9               - ./tests/tools/check_source.sh
    10               - Xvfb :42 -screen 0 1280x1024x24 &
    10               - ./tests/tools/run_python_tests.sh
    11               - DISPLAY=:42 pytest --timeout=10 ./tests/tools
    11 
    12               - pkill -9 Xvfb
       
    13 
    12 
    14   default:
    13   default:
    15     - step:
    14     - step:
    16         script: # Modify the commands below to build your repository.
    15         script: # Modify the commands below to build your repository.
    17           - /usr/bin/python --version
    16           - /usr/bin/python --version
    18           - ./tests/tools/check_source.sh
    17           - ./tests/tools/check_source.sh 
    19           - Xvfb :42 -screen 0 1280x1024x24 &
    18           - ./tests/tools/run_python_tests.sh         
    20           - DISPLAY=:42 pytest --timeout=10 ./tests/tools
       
    21           - pkill -9 Xvfb
       
    22           
    19