Skip to content

Commit

Permalink
update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hustlei committed Oct 21, 2019
1 parent 56d3842 commit 2beec0d
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,27 @@ jobs:
include:
- name: "linux"
#os: linux
dist: xenial
sudo: required
dist: trusty
python:
- 3.7
- 3.6
- 3.5
sudo: true
#before_install:#qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
# - sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update -qq
- sudo apt-get -y install python3-pyqt5 -qq
- pip3 install -U pip

- name: "win"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python3 #--version 3.7.4
- python -m pip install -U pip
# env:
# - PATH=/c/Python37:/c/Python37/Scripts:$PATH
# - TRAVIS-CI_TESTING=1
- python -m pip install --upgrade pip
env:
- PATH=/c/Python37:/c/Python37/Scripts:/c/Python38:/c/Python38/Scripts:$PATH

- name: "macOS"
os: osx
Expand All @@ -32,7 +35,7 @@ jobs:

before_install:
- python3 --version
- pip3 install --upgrade pip
- pip3 install -U pip

install:
- pip3 install PyQt5
Expand Down

0 comments on commit 2beec0d

Please sign in to comment.