未验证 提交 91188c6b 编写于 作者: C cclauss 提交者: GitHub

Travis CI: Run Python 2 and Python 3 tests in parallel

上级 b255e121
language: cpp language: cpp
cache: ccache cache: ccache
sudo: required
dist: trusty
services: services:
- docker - docker
os: os:
...@@ -9,7 +7,10 @@ os: ...@@ -9,7 +7,10 @@ os:
env: env:
- JOB=PRE_COMMIT - JOB=PRE_COMMIT
addons: matrix:
include:
- python: 2.7
addons:
apt: apt:
packages: packages:
- git - git
...@@ -17,6 +18,16 @@ addons: ...@@ -17,6 +18,16 @@ addons:
- python-pip - python-pip
- python2.7-dev - python2.7-dev
ssh_known_hosts: 13.229.163.131 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: before_install:
- sudo pip install -U virtualenv pre-commit pip - sudo pip install -U virtualenv pre-commit pip
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册