Skip to content
Snippets Groups Projects
Commit 562a1a75 authored by nimrod's avatar nimrod
Browse files

Hopefully this will make the jobs faster.

parent 3c395464
Branches
No related tags found
No related merge requests found
Pipeline #412 passed
...@@ -16,31 +16,17 @@ test: ...@@ -16,31 +16,17 @@ test:
apt-get install -y apt-get install -y
bats bats
build-essential build-essential
git
libdbus-1-dev
libffi-dev
libglib2.0-dev
libssl-dev
wget wget
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
- wget https://github.com/cloudbees-oss/juxr/releases/download/0.1.22/juxr-x86_64-unknown-linux-gnu.tar.gz -O - | tar -xzC /usr/local/bin - wget https://github.com/cloudbees-oss/juxr/releases/download/0.1.22/juxr-x86_64-unknown-linux-gnu.tar.gz -O - | tar -xzC /usr/local/bin
- |- - pip install dist/*.whl
if [ "$project" = 'pypy' ] - pip install pytest six
then
ln -sf /opt/pypy/bin/pypy "/usr/local/bin/python$version"
fi
- pip install pipenv
- pipenv install --dev --python=$version
script: script:
- pipenv run bats | tee results.tap - juxr tap --name bats --output results/ -- bats tests/
- pipenv run doctest --junit-xml results/doctest.xml - pytest --doctest-modules --junit-xml results/doctest.xml
after_script: after_script:
- juxr tap --name bats --output results/ -- cat results.tap
variables: variables:
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache" XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
PIPENV_VENV_IN_PROJECT: "1"
LANG: C.UTF-8
PIPENV_SKIP_LOCK: 1
cache: cache:
key: "$CI_JOB_NAME" key: "$CI_JOB_NAME"
paths: paths:
...@@ -49,6 +35,9 @@ test: ...@@ -49,6 +35,9 @@ test:
artifacts: artifacts:
reports: reports:
junit: results/*.xml junit: results/*.xml
needs:
- job: build-wheel
artifacts: true
parallel: parallel:
matrix: matrix:
- project: python - project: python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment