1. 25 May, 2019 1 commit
  2. 24 Dec, 2016 1 commit
    • 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
  3. 07 Feb, 2016 1 commit
  4. 25 Mar, 2013 1 commit
  5. 17 Jan, 2012 1 commit
  6. 29 Mar, 2011 1 commit
  7. 16 Nov, 2010 1 commit
  8. 14 Nov, 2010 1 commit
  9. 02 Aug, 2010 2 commits
  10. 30 Jul, 2010 3 commits
  11. 17 Apr, 2010 1 commit
  12. 12 Apr, 2010 1 commit
  13. 09 Apr, 2010 1 commit
  14. 19 Mar, 2010 1 commit
  15. 20 Feb, 2010 1 commit
  16. 09 Feb, 2010 1 commit