language: python
python:
  - 2.7
addons:
  postgresql: 9.6
env:
  - PLUGIN=livesync
  - PLUGIN=payment_paypal
before_install:
  - pip install -U pip setuptools
  - pip install -e git+https://github.com/indico/indico.git@${TRAVIS_BRANCH}#egg=indico
install:
  - cd "${TRAVIS_BUILD_DIR}/${PLUGIN}"
  - pip install -e .
script:
  - pytest
notifications:
  email: false
  irc:
    channels:
      - 'chat.freenode.net#indico'
    use_notice: true
    skip_join: true

language: python
python:
  - 3.9
addons:
  postgresql: 9.6
env:
  - PLUGIN=livesync
  - PLUGIN=payment_paypal
before_install:
  - pip install -U pip setuptools
  - pip install wheel
  - pip install -e git+https://github.com/indico/indico.git@${TRAVIS_BRANCH}#egg=indico
install:
  - cd "${TRAVIS_BUILD_DIR}/${PLUGIN}"
  - pip install -e .
script:
  - pytest
notifications:
  email: false
  irc:
    channels:
      - 'chat.freenode.net#indico'
    use_notice: true
    skip_join: true

Use Python 3.9 in CI
Use Python 3.9 in CI
