-
Notifications
You must be signed in to change notification settings - Fork 379
/
.travis.yml
47 lines (45 loc) · 2.39 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: python
dist: bionic
services:
- xvfb
before_install:
- sudo apt-get install python-pyatspi libsdl1.2-dev libsdl2-2.0-0
# 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
# Fix deprecation of node.js 10 breaking Sonarcloud
- curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
- sudo bash ./nodesource_setup.sh
- sudo apt install nodejs
install:
- pip install -r requirements-dev.txt
- pip install .
-
matrix:
include:
- python: "3.6"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.7.post2-cp36-cp36m-linux_x86_64.whl
- python: "3.7"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.7.post2-cp37-cp37m-linux_x86_64.whl
- python: "3.6"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.1.1-cp36-cp36m-linux_x86_64.whl
- python: "3.7"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.1.1-cp37-cp37m-linux_x86_64.whl
- python: "3.8"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
- python: "3.9"
env:
- WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.1.1-cp39-cp39-linux_x86_64.whl
addons:
sonarcloud:
organization: "helioguilherme66"
token:
secure: "aTXdbNM+vG32qQg0HNXN55+OdGI4G7U9XMKth2r10hpdrH566rVW4UP3hnCYOZboI+CHdv9j372dTsmzuxLrezImD6SU7Md6c0aYxeX1PwSZJJIGXcnVZsyqYMddoZEfbtYDvVUWvO8Yn7oY7pv/BSypms9jebgMVF64OM006zi8aHB7UbRRvle7EPOZXlFP3Us4vnyPpRPE8fSGdzoVoGabHJ8RPFbqt4oqwFJAjR94oJ6sQ8ShTBA7B9xNud3vnue8TzYeg18f/98V60kI2rzFhm2fU62DSdkzjhA8WvTCbWEHovPJ369yWMlqm0qS0eAWLugws5gVEm0FwS0Ixa13ppCu72n4I3UgjLxuVI67tWblXntKzdreSrctsdd30XJjCadPqAVqVroVsrRDzW8nBjPC+AqmgQ3ie6Qm+jp7YcYIruQbk1pRn9/Sg+hN7T7kygPsKhfSpMzWg7d7Qcs7azhogStHhZrhUY1831A7+8ZcGpPrk2HBoAeaa+H37KIpcAyJ8wZzsiRAQ4P38lb8/CIk3D6fleZQ27n4W7pYX7hYmpD1BpD12jbn7r/C0VdcLteJQ55o2BA2JRAY9rX+pSJQLcJaGA2o5bnUlZvAUPilE+zXWVSjAoXfjehvmk1z6Nb47elNTPfYxROUqtQL5MjymioQqaX6dF7FxCA="
script:
- invoke test-ci
- sonar-scanner