diff --git a/.travis.yml b/.travis.yml index 8ba4b0de62e2e8a781dc9226b4e37cb37846a9cf..d092dced69b33e49815f4a87ecf4231bd90c84ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,37 +1,22 @@ -language: cpp +language: python +compiler: gcc cache: ccache -services: - - docker -os: - - linux +addons: + apt: + packages: + - git + # ssh_known_hosts: 13.229.163.131 env: - JOB=PRE_COMMIT - matrix: include: - python: 2.7 - addons: - apt: - packages: - - git - - python - - python-pip - - python2.7-dev - ssh_known_hosts: 13.229.163.131 - python: 3.7 dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) - addons: - apt: - sources: - - deadsnakes - packages: - - git - - python3.7-venv - ssh_known_hosts: 13.229.163.131 before_install: - - python --version - - sudo pip install -U virtualenv pre-commit pip + - pip install --upgrade pip + - pip install pre-commit script: - exit_code=0