language: python
python:
  - '3.7'
  - '3.8'
cache:
  pip: true
  directories:
    - $HOME/.cache/pre-commit
before_install:
  - pip install -U pip
install:
  - pip install -r requirements.txt
  - pip install -r requirements_test.txt
before_script:
  - mv secrets_dummy.yaml secrets.yaml
  - pre-commit install-hooks
script:
  - pre-commit run yamllint --all-files
  - hass -c . --script check_config

dist: bionic
language: python
python:
  - '3.7'
  - '3.8'
cache:
  pip: true
  directories:
    - $HOME/.cache/pre-commit
before_install:
  - pip install -U pip
install:
  - pip install -r requirements.txt
  - pip install -r requirements_test.txt
before_script:
  - mv secrets_dummy.yaml secrets.yaml
  - pre-commit install-hooks
script:
  - pre-commit run yamllint --all-files
  - hass -c . --script check_config

Update TravisCI configuration to use Ubuntu 18.04
Update TravisCI configuration to use Ubuntu 18.04
