diff --git a/.travis.yml b/.travis.yml index 94e00a168462c08c09847a18d4dcae319c7e2a6c..e385c5cfda11d314d5353082904834a7bcdb3ef2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: cpp cache: ccache -sudo: required -dist: trusty services: - docker os: @@ -9,14 +7,27 @@ os: env: - JOB=PRE_COMMIT -addons: - apt: - packages: - - git - - python - - python-pip - - python2.7-dev - ssh_known_hosts: 13.229.163.131 +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 + addons: + apt: + packages: + - git + - python3.7 + - python3.7-pip + - python3.7-dev + ssh_known_hosts: 13.229.163.131 + before_install: - sudo pip install -U virtualenv pre-commit pip