language: node_js
python:
  - "2.7"
node_js:
  - 10
install:
  - pip install pytest
after_success:
  - bash <(curl -s https://codecov.io/bash)

language: node_js
python:
  - "3.5"
node_js:
  - 10
install:
  - pip install pytest
after_success:
  - bash <(curl -s https://codecov.io/bash)

Change Travis Python version to 3.5
Change Travis Python version to 3.5

The Travis build crashed during pip install pytest with a permission denied error, but there were also InsecurePlatformWarning messages that recommended a newer Python version.