From 4d6168c3b234e0f000959bfe5f6b86fbe90239c4 Mon Sep 17 00:00:00 2001 From: nitely Date: Wed, 5 Apr 2023 21:25:37 -0300 Subject: [PATCH] update CI --- .github/workflows/ci.yml | 16 ++++----- .travis.yml | 72 ---------------------------------------- 2 files changed, 8 insertions(+), 80 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79e906230..4a1b5f228 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.6, 3.7, 3.8] - django: [2.2.16, 3.0.7, 3.1.1] + python: ['3.8', '3.9', '3.10', '3.11'] + django: ['3.2', '4.2'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} @@ -46,10 +46,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.11 - name: Finished run: | python -m pip install --upgrade pip @@ -82,8 +82,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.8] - django: [3.1.1] + python: ['3.11'] + django: ['4.2'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} @@ -108,8 +108,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.8] - django: [3.1.1] + python: ['3.11'] + django: ['4.2'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 16f8fa1ae..000000000 --- a/.travis.yml +++ /dev/null @@ -1,72 +0,0 @@ -language: python -dist: xenial -python: - - "3.6" - - "3.7" - - "3.8" -env: - - DJANGO=2.2.16 - - DJANGO=3.0.7 - - DJANGO=3.1.1 -install: - - pip install --upgrade pip - - pip install .[files] - - pip install .[huey] - - pip install .[celery] - - pip uninstall django-spirit -y - - pip install -q Django==$DJANGO - - pip install pep8==1.5.7 flake8 -script: - - flake8 --exit-zero - - python setup.py build - - python ./spirit/extra/bin/spirit.py startproject project - - export PYTHONWARNINGS="default" - - make test -notifications: - email: - on_failure: never - on_success: never - -jobs: - include: - - language: node_js - node_js: 12 - script: - - yarn - - make testjs - install: [] - env: [] - after_success: [] - - name: "No opt deps" - language: python - python: "3.8" - install: - - pip install --upgrade pip - - pip install . - - pip uninstall django-spirit -y - - pip install -q Django==3.0.3 - script: - - python ./spirit/extra/bin/spirit.py startproject project - - export PYTHONWARNINGS="default" - - export ST_UPLOAD_FILE_ENABLED=0 - - export ST_INSTALL_HUEY=0 - - python runtests.py - env: [] - after_success: [] - - name: "Huey" - language: python - python: "3.8" - install: - - pip install --upgrade pip - - pip install . - - pip install .[huey] - - pip uninstall django-spirit -y - - pip install -q Django==3.0.3 - script: - - python ./spirit/extra/bin/spirit.py startproject project - - export PYTHONWARNINGS="default" - - export ST_UPLOAD_FILE_ENABLED=0 - - export ST_TASK_MANAGER="huey" - - python runtests.py - env: [] - after_success: []