diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..5d8d0e173df5ef2864497d44a1b3d68a998c10d0 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d4998dbac23e329cf9f41e3043a817c403f0dd6e..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,46 +0,0 @@ -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