Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 13 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: python

dist: focal
dist: noble

cache: pip

Expand All @@ -9,7 +9,7 @@ notifications:

matrix:
include:
- python: 3.10
- python: '3.11'
before_script:
- >-
[ -z "${TRAVIS_TAG}" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]
Expand All @@ -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
Expand All @@ -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
Expand All @@ -69,5 +67,5 @@ deploy:
repository: https://upload.pypi.org/legacy
skip_cleanup: true
on:
python: '3.10'
python: '3.11'
tags: true