Freebox thin client
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.

.gitlab-ci.yml 561B

123456789101112131415161718192021222324252627282930313233343536
  1. image: python:3.5-slim
  2. before_script:
  3. - python -V
  4. - pip install virtualenv
  5. - virtualenv venv
  6. - source venv/bin/activate
  7. stages:
  8. - build
  9. - test
  10. cache:
  11. paths:
  12. - venv/
  13. - .cache/pip
  14. job_build:
  15. stage: build
  16. only:
  17. - dev
  18. - master
  19. script:
  20. - python setup.py build
  21. - python setup.py -q install
  22. job_test:
  23. stage: test
  24. only:
  25. - dev
  26. - master
  27. dependencies:
  28. - job_build
  29. script:
  30. - pip install -r requirements-dev.txt
  31. - pytest -s tests/