language: python
python:
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9"
env:
  - ES_VERSION=6.8.9
before_install:
  - ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
  - wget ${ES_DOWNLOAD_URL}
  - tar -xzf elasticsearch-${ES_VERSION}.tar.gz
  - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null &
install:
  - make requirements-dev
script:
  - PYTEST_ARGS='--cov=app --cov-report=term-missing' make test
notifications:
  email: false

language: python
python:
  - "3.6"
  - "3.7"
  - "3.8"
  - "3.9"
env:
  - ES_VERSION=7.9.3
before_install:
  - ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}-linux-x86_64.tar.gz
  - wget ${ES_DOWNLOAD_URL}
  - tar -xzf elasticsearch-${ES_VERSION}-linux-x86_64.tar.gz
  - ./elasticsearch-${ES_VERSION}/bin/elasticsearch > /dev/null &
install:
  - make requirements-dev
script:
  - PYTEST_ARGS='--cov=app --cov-report=term-missing' make test
notifications:
  email: false

Change Travis CI tests to use Elasticsearch 7.9.3
Change Travis CI tests to use Elasticsearch 7.9.3

Aiven cloud (that provides GOV.UK PaaS) is currently using Elasticsearch
7.9.
