Skip to content

Commit

Permalink
Update .travis.yml for Qt (#529)
Browse files Browse the repository at this point in the history
* Update .travis.yml to include libglu1-mesa-dev for Qt

* Restore libxkbcommon-x11 and move other dependencies up

* Fix package name for libsdl

* Add a debug flag

* Add libxcb-iccm4

* Continue the same exercise for pyside2, add libxcb-image

* Giving up - let's use the same packages

* Add libxml2 for osx image

* Use brew manually
See https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/28

* Try a newer osx image

* Add a comment

* Is libdbus still needed?

* Remove debugging flag - it is noisy and is embedded in between tests
  • Loading branch information
kitchoi committed Jul 8, 2020
1 parent 0449b0d commit 0668315
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ dist: xenial
services:
- xvfb

addons:
apt:
packages:
# Qt dependencies
- libxkbcommon-x11-0
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-randr0
- libxcb-render-util0
- libxcb-xinerama0
- pulseaudio
- libpulse-mainloop-glib0
# Wx dependencies
- libsdl1.2debian

env:
global:
- INSTALL_EDM_VERSION=2.0.0
Expand All @@ -12,6 +28,8 @@ matrix:
include:
- env: RUNTIME=3.6 TOOLKITS="pyqt pyqt5 pyside2 wx"
- os: osx
# Obtain newer libxml2 for QtWebKit
osx_image: xcode11.5
env: RUNTIME=3.6 TOOLKITS="pyqt pyqt5 pyside2 wx"
fast_finish: true

Expand All @@ -22,8 +40,6 @@ cache:
before_install:
- mkdir -p "${HOME}/.cache/download"
- if [[ ${TRAVIS_OS_NAME} == 'linux' ]]; then ./install-edm-linux.sh; export PATH="${HOME}/edm/bin:${PATH}"; fi
# libdbus, libxkb and pulseaudio for Pyside2, libsdl for wxpython
- if [[ ${TRAVIS_OS_NAME} == 'linux' ]]; then sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libsdl1.2debian pulseaudio libpulse-mainloop-glib0; fi
- if [[ ${TRAVIS_OS_NAME} == 'osx' ]]; then ./install-edm-osx.sh; export PATH="${PATH}:/usr/local/bin"; fi
- edm install -y wheel click coverage
install:
Expand Down

0 comments on commit 0668315

Please sign in to comment.