summaryrefslogtreecommitdiff
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: python updateci-py-updateChristoph Reiter2018-07-072-4/+4
|
* ci/meson: build with pypy and run testsChristoph Reiter2018-05-131-8/+11
| | | | pypy+pycairo doesn't work because it doesn't install a .pc file with it.
* meson: don't autodetect pycairo support, force it and add an option to ↵Christoph Reiter2018-05-061-0/+1
| | | | | | disable it If you don't want pycairo support pass "-Dpycairo=false"
* ci: fix doc build not being runChristoph Reiter2018-05-031-4/+4
| | | | | We check the exact version number but that has changed with the last update. Check the major/minor + impl instead.
* ci: remove pypy workaround where pip crashes with MALLOC_CHECK_Christoph Reiter2018-05-031-5/+0
| | | | This is now fixed in PyPy and pip
* ci: build with mesonChristoph Reiter2018-05-031-0/+10
|
* ci: add meson deps to the docker imageChristoph Reiter2018-05-031-0/+4
|
* ci: update pypy and py2.7Christoph Reiter2018-05-012-4/+4
|
* ci: update image to bionic; drop Python 3.4ci-bionicChristoph Reiter2018-04-292-7/+2
| | | | We require Ubuntu 16.04+ which has 3.5
* ci: run tests under pypy but allow failures for startersChristoph Reiter2018-04-221-5/+0
|
* docker script: make them work with active selinux (fedora)Christoph Reiter2018-04-202-2/+2
|
* gitlab-ci: move docker images to gitlab.gnome.orgChristoph Reiter2018-04-173-3/+4
|
* ci: enable -WerrorChristoph Reiter2018-04-122-2/+3
|
* coverage: add badge, fixup linksChristoph Reiter2018-04-071-2/+2
|
* gitlab-ci: publish coverage reports to gitlab pagesChristoph Reiter2018-04-071-0/+11
|
* gitlab-ci: update pyenv versions and add pypy3 jobChristoph Reiter2018-04-012-5/+6
|
* gitlab-ci: install all test dependencies under PyPyChristoph Reiter2018-04-011-4/+3
| | | | | pytest-faulthandler was failing but this is now fixed upstream: https://github.com/pytest-dev/pytest-faulthandler/pull/29
* Remove autotools build systemChristoph Reiter2018-03-261-22/+7
|
* gitlab-ci: add a pypy2 job. See #180Christoph Reiter2018-03-242-7/+17
| | | | This just builds things and doesn't run anything
* gitlab-ci: Add a 32bit Ubuntu 16.04 image. Fixes #175Christoph Reiter2018-03-133-0/+64
| | | | To make sure everything works with older libraries.
* gitlab-ci: add Python 3.7.0b2 jobChristoph Reiter2018-03-112-0/+3
|
* coverage: exclude external headers. See #168Christoph Reiter2018-02-231-0/+6
| | | | | While we could just pass --no-external we want the coverage of the gobject-introspection files.
* coverage.py: ignore errorsChristoph Reiter2018-02-231-1/+1
| | | | not sure where that path is comming from, it worked in the MR..
* gitlab-ci: Add Windows coverage support. See #168Christoph Reiter2018-02-234-2/+74
| | | | | | Use coverage.py and cygwin lcov to generate coverage files. In the report generation step fixup the Windows paths in the coverage files to match the Linux/Docker ones.
* gitlab-ci: Add MSYS2 test jobsChristoph Reiter2018-02-211-0/+28
| | | | | This assumes a gitlab runner with a "win32" tag which has MSYS2 installed in the default path and uses the "cmd" shell.
* coverage: don't just use the major python version number for coverage files ↵Christoph Reiter2018-02-171-1/+1
| | | | | | names all py3 jobs wrote to the same file, oops..
* gitlab-ci: Add coverage reportsChristoph Reiter2018-02-173-4/+34
| | | | | Use gcov/lcov and coverage.py; merge all results and provide the final html reports as job artifacts.
* gitlab-ci: use ccacheChristoph Reiter2018-02-162-2/+7
|
* gitlab-ci: Install pytest-faulthandlerChristoph Reiter2018-02-141-1/+1
| | | | This makes pytest print a Python stack trace in case of a crash.
* tests: switch to pytest as the default test runner. See #153Christoph Reiter2018-02-101-1/+1
| | | | | | | | | | | The TEST_NAMES env var gets translated to work with the pytest syntax (foo.py::class::method). Rename one class which triggers a pytest warning because it starts with "Test" but isn't one. Remove erroring out on Python warnings as pytest triggers some deprecation warnings by default.
* tests: move dbus session bus handling into runtests.pyChristoph Reiter2018-02-082-1/+0
| | | | | | | This allows us to remove code duplication in autotools/distutils. This also fixes the noisy dbus output during tests because dbus-run-session forwarded dbus logging output to stderr.
* gitlab-ci: use pyenv in docker instead of the deadsnakes PPAChristoph Reiter2018-02-083-29/+49
| | | | | | | | | | | | | | deadsnakes only provides packages for Ubuntu LTS versions and doesn't include versions present in that Ubuntu version. With Ubuntu zesty this happened to work, but now that that's EOL we have to switch to artful and no longer have a Python 3.5 available. Instead switch to using pyenv in docker and compiler our own Python versions. This should make it easier to swtich distros in the future. Also adds a run-docker.sh script which builds the image and runs it with the git repo mounted. This should make local testing easier in the future.
* gitlab-ci: adjust PKG_CONFIG_PATH for pycairoChristoph Reiter2018-02-061-1/+1
| | | | pycairo git now installs things into $prefix/lib/pkgconfig
* gitlab-ci: switch to a non-srcdir buildChristoph Reiter2018-01-201-1/+7
|
* autotools: use flake8 instead of pep8/pyflakesChristoph Reiter2018-01-201-1/+1
| | | | | | | | | | | flake8 uses pep8/pycodestyle/pyflakes internally, so there should not by any difference. The nice thing about it is that we can store the configuration in setup.cfg and linting comes down to just executing "flake8". It also allows to ignore warnings with inline comments, so that when avoiding a warning isn't possible it doesn't need to be disabled for the whole codebase.
* gitlab-ci: Install pep8 package, "make check.quality" requires itChristoph Reiter2018-01-201-1/+1
| | | | | | While pep8 is replaced by pycodestyle, the "make check.quality" command still uses pep8. Install it for now and fix some warnings which slipped through due to pep8 not running.
* setup.py: add a "test" command which is equal to "make check" with autotoolsChristoph Reiter2018-01-191-0/+3
| | | | | | | | | | | | | | Adds a "build_tests" command which builds all resources required for testing. It has some simple dependency awareness and only rebuilds if any of the direct sources have changed. Passing -f/--force will force a rebuild. Adds a new "test" command which builds the main extension module in the source directory, runs "build_tests" and finally runs all tests. Extends the "distcheck" command to run the tests after extracting the source distribution and run the distcheck command in the gitlab CI script. Only tested on Linux.
* Add gitlab CI testsChristoph Reiter2018-01-103-0/+63
Adds a Dockerfile which is available on the docker hub and gets used by the gitlab test runner. The tests get executed in an Ubuntu 17.04 image for various Python versions and consist of building, testing, code quality testing and documentation build testing.