Skip to content
  1. Jan 02, 2019
  2. Apr 26, 2018
  3. Apr 23, 2018
  4. Jul 11, 2017
  5. Jun 19, 2017
  6. Dec 24, 2016
    • Phyks (Lucas Verney)'s avatar
      6f700b99
    • Phyks (Lucas Verney)'s avatar
      Gitlab-CI continuous integration · 434c0f15
      Phyks (Lucas Verney) authored
      This commit adds the necessary files to run the CI using Gitlab-CI. For
      now, it checks that Weboob builds, then runs the linting script
      (checking that every module as an icon and some tests + PyFlakes) and
      the unittests. Most of modules unittests cannot run because there is no
      backend configured.
      
      Some changes were needed in the pre-existing scripts:
      * Edit `weboob_lint` to exit with non-zero code if it finds modules
      without icons or tests, so that the build could fail in such a case.
      * Edit `run_tests.sh` to set correct exit code on failure and rework
      generation of XUNIT output. Also added some doc about useful environment
      variables. Added a way to generate an xunit output file when running modules
      unittests, passing a `XUNIT_OUT` env variable to `run_tests.sh` script.
      * Modification of `setup.cfg` and `run_tests` scripts to handle code
      coverage generation. The matching regex in Gitlab for the total code
      coverage is `TOTAL: (\d+\%\s*)$)`.
      
      I also added a script to generate a JSON module status matrix from
      modules unittests, ready to be sent to a
      [Weboob-CI](https://github.com/Phyks/weboob-ci) instance.
      
      NOTE: Required Python modules are taken from the `setup.py` script.
      `.ci/requirements.txt` contains the requirements to run the unittests
      and the CI, whereas `.ci/requirements_modules.txt` contains the specific
      Python modules required at runtime by Weboob modules. The latter could
      eventually be replaced by a proper call to `debpydep` script.
      434c0f15
  7. Nov 14, 2016
  8. Jul 17, 2015
  9. Oct 01, 2014
  10. Jun 18, 2014
  11. Aug 12, 2013
  12. Aug 03, 2013
  13. Apr 10, 2013
  14. Mar 25, 2013
  15. Nov 11, 2012
  16. Nov 10, 2012
  17. Apr 27, 2012
  18. Apr 10, 2012
  19. Mar 14, 2012
  20. Feb 28, 2012
  21. Feb 12, 2012
  22. Jan 30, 2012
  23. Jan 27, 2012
  24. Jan 18, 2012
  25. Jan 17, 2012
  26. Aug 30, 2010
  27. Aug 13, 2010