You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
598 B

  1. language: generic
  2. dist: xenial
  3. services:
  4. - xvfb
  5. addons:
  6. firefox: latest
  7. before_install:
  8. - sudo apt-get install -y python3-pillow python3-numpy python3-pip mesa-utils libgl1-mesa-dri libglapi-mesa libosmesa6
  9. - sudo pip3 install selenium
  10. install:
  11. - wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
  12. - tar -xf geckodriver-v0.24.0-linux64.tar.gz
  13. - sudo mv geckodriver /usr/local/bin
  14. jobs:
  15. include:
  16. - stage: build
  17. script: python3 utils/build/build.py
  18. - stage: test
  19. script: xvfb-run -a python3 tests/run_tests.py