我尝试在travis-ci上安装sip和pyqt5。它可以在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并使用python版本3.4进行吸取。