mirror of
https://github.com/sivel/speedtest-cli.git
synced 2024-11-27 04:09:53 +08:00
38 lines
601 B
YAML
38 lines
601 B
YAML
language: python
|
|
|
|
python:
|
|
- 2.7
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- deadsnakes
|
|
packages:
|
|
- python2.4
|
|
- python2.5
|
|
- python2.6
|
|
- pypy
|
|
|
|
env:
|
|
- TOXENV=py24
|
|
- TOXENV=py25
|
|
- TOXENV=py26
|
|
- TOXENV=py27
|
|
- TOXENV=py32
|
|
- TOXENV=py33
|
|
- TOXENV=py34
|
|
- TOXENV=py35
|
|
- TOXENV=pypy
|
|
- TOXENV=flake8
|
|
|
|
install:
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") != 0 ]]; then pip install virtualenv==1.7.2 tox==1.3; fi;
|
|
- if [[ $(echo "$TOXENV" | egrep -c "(py2[45]|py3[12])") == 0 ]]; then pip install tox; fi;
|
|
|
|
script:
|
|
- tox
|
|
|
|
notifications:
|
|
email:
|
|
- matt@sivel.net
|