Update Travis to ubuntu xenial, wxPython and python 3.7
language: python
-dist: trusty
-group: edge
+dist: xenial
+services:
+ - xvfb
before_install:
- # try to fix dbus error
- - sudo touch /etc/machine-id
- - dbus-uuidgen > .myId
- - sudo cp .myId /etc/machine-id
- - sudo apt-get install python-pyatspi
+ - sudo apt-get install python-pyatspi libsdl2-dev
# In normal circunstances we would just do "pip install wxPython"
#- pip install https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/ubuntu-14.04/wxPython-4.0.0a3.dev3059+4a5c5d9-cp27-cp27mu-linux_x86_64.whl
- pip install $WXPACK
@@ -18,12 +15,9 @@ matrix:
include:
- python: "2.7"
env:
- - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04/wxPython-4.0.4-cp27-cp27mu-linux_x86_64.whl
- - python: "3.6"
+ - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp27-cp27mu-linux_x86_64.whl
+ - python: "3.7"
env:
- - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04/wxPython-4.0.4-cp36-cp36m-linux_x86_64.whl
-before_script:
- - "export DISPLAY=:99.0"
- - "sh -e /etc/init.d/xvfb start"
+ - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp37-cp37m-linux_x86_64.whl
script:
- invoke test
