Skip to content
Snippets Groups Projects
Verified Commit 2c5bf202 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Test on GitLab CI.

parent fcbb95c1
No related branches found
No related tags found
No related merge requests found
Pipeline #244 failed
test:
image: python:3.8-buster
before_script:
- sudo apt-get update -qq
- sudo apt-get install -qq yarnpkg
- pip install -q Django
- pip install .
- pip install -r requirements_dev.txt
- pip install pep8
script:
- mkdir -p /tmp/test_root/
- export TEST_PROJECT_ROOT=/tmp/test_root/
- coverage run runtests.py test django_yarnpkg && coverage report
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO_VERSION=1.4
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
- DJANGO_VERSION=1.9
- DJANGO_VERSION=1.10
matrix:
exclude:
- python: "3.3"
env: DJANGO_VERSION=1.4
- python: "3.4"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.4
- python: "3.5"
env: DJANGO_VERSION=1.7
- python: "3.3"
env: DJANGO_VERSION=1.9
- python: "3.3"
env: DJANGO_VERSION=1.10
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- npm install -g bower
- pip install -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99"
- pip install .
- pip install -r requirements_dev.txt
- pip install pep8
- pip install coviolations_app
script:
- mkdir /home/travis/test_root/ -p
- export TEST_PROJECT_ROOT=/home/travis/test_root/
- coverage run runtests.py test djangobower > >(tee stdout.log) 2> >(tee test_out >&2)
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls
- covio
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment