functions: revert the function init order to make pylint happy again. See #217
[pygobject.git] / .gitlab-ci / test-docker-old.sh
blob74c81c77088d9f01c6a50b9fb1909c2e386c5c06
1 #!/bin/bash
3 set -e
5 python --version
6 virtualenv --python=python _venv
7 source _venv/bin/activate
9 # ccache setup
10 mkdir -p _ccache
11 export CCACHE_BASEDIR="$(pwd)"
12 export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
14 # test
15 python -m pip install git+https://github.com/pygobject/pycairo.git
16 python -m pip install pytest pytest-faulthandler
17 xvfb-run -a python setup.py test