2017-10-23 4 views
2

Ich habe gerade ein scheinbar uninteressantes commit begangen, die Versionshinweise aktualisiert und das Setup für pypi aktualisiert. die travis-ci-Erstellungsfehler jedoch läuft tox mit py26, py33 und PyPy:Travis-ci mit tox failing auf python2.6, python3.3 und pypy

https://travis-ci.org/Turbo87/aerofiles

1.13s$ tox -e $TOX_ENV -- --cov aerofiles --cov-report term-missing 
py26 create: /home/travis/build/Turbo87/aerofiles/.tox/py26 
ERROR: InterpreterNotFound: python2.6 

Ich habe nichts an den travis.yml ändern und tox auf der 1.7.2-Version behoben wurde :

language: python 
python: 2.7 

sudo: false 

env: 
    - TOX_ENV=py26 
    - TOX_ENV=py27 
    - TOX_ENV=py33 
    - TOX_ENV=py34 
    - TOX_ENV=pypy 

install: 
    # Install tox and flake8 style checker  
    - pip install tox==1.7.2 flake8==2.1.0 

script: 
    # Run the library through flake8 
    - flake8 --exclude=".git,docs" --ignore=E501 . 

    # Run the unit test suite 
    - tox -e $TOX_ENV -- --cov aerofiles --cov-report term-missing 

Wäre toll, wenn jemand helfen könnte. Ich bin neu bei Travis-Ci (und Tox) und es ist im Moment ziemlich eine Blackbox.

+1

travis-ci nicht installiert länger py26/py33 (Ende lifed) Pythons. Pypy ist ein separates Problem: https://github.com/travis-ci/travis-ci/issues/8081 –

Antwort

2

Vor ein paar Wochen war ich gezwungen, alle meine .travis.yml genau wegen des Problems zu ändern. Siehe my commit. Statt

env: 
    - TOXENV=py27 
    - TOXENV=py34 

Schreib

matrix: 
    include: 
    - python: "2.7" 
    env: TOXENV=py27 
    - python: "3.4" 
    env: TOXENV=py34