From b7397fdd38f1290e58408c6ab5717fadc00c1021 Mon Sep 17 00:00:00 2001 From: Sridhar G K Date: Wed, 21 Jan 2026 19:14:33 +0530 Subject: [PATCH] fix(travis): updated to latest os and python version for pypi release Signed-off-by: Sridhar G K --- .travis.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0223e79..c8fbc7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python -dist: focal +dist: noble cache: pip @@ -9,7 +9,7 @@ notifications: matrix: include: - - python: 3.10 + - python: '3.11' before_script: - >- [ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ] @@ -27,25 +27,23 @@ matrix: import os print("PYDEBUG before tox: CIS_SERVICES_AUTH_URL =", os.getenv("CIS_SERVICES_AUTH_URL")) PY - - python: 3.11 - - python: 3.12 + - python: '3.12' + - python: '3.13' before_install: -- sudo apt-get update -- sudo apt-get install pandoc -- pip install pypandoc -- echo -e "machine github.ibm.com\n login $GH_TOKEN" > ~/.netrc + - sudo apt-get update -y + - sudo apt-get install -y pandoc + - pip install --upgrade pip + - pip install pypandoc tox-travis + - echo -e "machine github.ibm.com\n login $GH_TOKEN" > ~/.netrc install: - - sudo rm -f /etc/apt/sources.list.d/mongodb-4.4.list || true - - wget -O- https://pgp.mongodb.com/server-4.4.asc | sudo gpg --dearmor -o /usr/share/keyrings/mongodb-4.4.gpg - - echo "deb [signed-by=/usr/share/keyrings/mongodb-4.4.gpg] http://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-4.4.list - - pip install tox-travis + - sudo apt-get update -y script: tox before_deploy: -- nvm install 20 +- nvm install 22 - npm install npm@latest -g - npm install @semantic-release/changelog - npm install @semantic-release/exec @@ -58,7 +56,7 @@ deploy: script: npx semantic-release skip_cleanup: true on: - python: '3.10' + python: '3.11' all_branches: true # Allow semantic-release on any branch triggered by tags #branch: master tags: true @@ -69,5 +67,5 @@ deploy: repository: https://upload.pypi.org/legacy skip_cleanup: true on: - python: '3.10' + python: '3.11' tags: true \ No newline at end of file