forked from HelioGuilherme66/RIDE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 962 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: python
dist: trusty
group: edge
before_install:
# try to fix dbus error
- sudo touch /etc/machine-id
- dbus-uuidgen > .myId
- sudo cp .myId /etc/machine-id
# 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
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install .
matrix:
include:
- python: "2.7"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04/wxPython-4.0.0b2-cp27-cp27mu-linux_x86_64.whl
- python: "3.5"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-14.04/wxPython-4.0.0b2-cp35-cp35m-linux_x86_64.whl
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- invoke test