Установите PyQt5 с Python 3.4 на Travis CI - PullRequest
0 голосов
/ 20 июня 2019

Я пытаюсь установить sip и pyqt5 на travis-ci.Это работало на Python 3.5, но мне нужно это для Python версии 3.4

Это мой .travis.yml:

os: windows
language: sh

py35-steps: &py34-steps
  env: PATH=/c/Python34:/c/Python34/Scripts:$PATH
  before_install:
    - choco install python --version 3.4.4 

matrix:
  allow_failures:
    - python: 3.4
  include:
    - name: "Python 3.4: Run tests"
      <<: *py34-steps

deploy:
  provider: releases
  api_key: ${api_key}
  file_glob: true
  file: distrib/*
  skip_cleanup: true
  draft: true
  on:
    all_branches: true
    tags: false

install:
 - pip install cx_freeze==4.3.3
 - pip install libyaz0
 - pip install sarclib
 - pip install pyqt5
 - pip install sip

script:
  - py build.py

Я просто хочу .travis.yml, который может установить pyqt5 и sipс версией питона 3.4.

...