-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
93 lines (93 loc) · 3.8 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
os:
- linux
language:
- python
sudo:
- true
python:
- 2.7
env:
- PEP8_IGNORE="E731,W503,E402"
- OS=arm
branches:
only:
- master
cache:
directories:
- $HOME/.pip-cache/
- /home/travis/virtualenv/python2.7
before_install:
- sudo apt-get update
# install portaudio since this is a requirement for pyaudio
- sudo apt-get install zbar-tools -y
- sudo apt-get install portaudio19-dev
- sudo apt-get install --fix-missing libasound2 libasound2-dev libsndfile1-dev -y
- sudo apt-get install alsa-base alsa-utils alsa-oss alsamixergui -y
- sudo apt-get install festival espeak flite -y
- sudo apt-get install python-pip python-dev python-yaml -y
- sudo apt-get install fakeroot debhelper help2man hardening-wrapper -y
- sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
- sudo apt-get install --fix-missing flex libesd0-dev libatlas-dev liblapack-dev -y
- sudo apt-get install libopenblas-dev
- sudo apt-get install --fix-missing libsdl-dev libsdl-image1.2-dev libsdl-mixer1.2-dev -y
- sudo apt-get install --fix-missing libsdl-ttf2.0-dev libsmpeg-dev libportmidi-dev libavformat-dev libswscale-dev -y
- sudo apt-get install bison -y
- sudo apt-get install swig -y
- sudo apt-get install mplayer -y
- sudo apt-get install libasound2-plugin-equal -y
- sudo apt-get install mpg321 -y
- sudo apt-get install lame -y
- sudo apt-get install libasound2-plugins -y
- sudo apt-get install libffi-dev
- sudo apt-get install libsndfile1
- sudo apt-get install bluez python-gobject python-gobject-2
- sudo apt-get install --no-install-recommends bluetooth python-gobject -y
- sudo apt-get install --no-install-recommends bluez-utils bluez-alsa -y
- sudo apt-get install libopenobex1 obex-data-server python-gconf -y
- sudo apt-get install blueman -y
- sudo apt-get install libbluetooth3 libusb-dev -y
- sudo apt-get install pulseaudio-module-bluetooth pulseaudio-module-x11 -y
- sudo apt-get install pavucontrol -y
- sudo apt-get install paman -y
- sudo apt-get install lame -y
- sudo apt-get install alsaplayer alsaplayer-alsa -y
- sudo apt-get install alsa-tools alsa-tools-gui alsamixergui libalsaplayer0 -y
- sudo apt-get install libasound-dev -y
- sudo apt-get install python-dev python-numpy cython python-smbus -y
- sudo apt-get install python-alsaaudio -y
- sudo apt-get install pulseaudio pulseaudio-utils -y
- sudo apt-get install bluez-compat
- sudo apt-get install mpd mpc -y
- sudo apt-get install python-wxgtk2.8 -y
- sudo apt-get install python-pymad -y
- sudo apt-get install libxml2 libxml2-dev libxslt-dev -y
- sudo apt-get install libbluetooth-dev -y
- sudo apt-get install libssl-dev libffi-dev -y
- sudo apt-get install libav-tools -y
- sudo apt-get install python-pygame python-scipy -y
- sudo apt-get install python-gtk2
- sudo apt-get install xdotool
- sudo apt-get install mosquitto mosquitto-clients -y
- sudo apt-get install apache2
- sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev
- sudo apt-get install libsmpeg-dev python-numpy subversion libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev
install:
- pip install -U -r python_requirement.txt
- pip install -U python-coveralls
- pip install coverage
- pip install flake8
- pip install codecov
- pip install autopep8
before_script:
- autopep8 -i -a -a -v robocop/RoboCop.py
- git config --global user.email "olxboss@gmail.com"
- git config --global user.name "Travis-CI"
script:
- coverage run -m unittest discover
after_success:
- coverage report
- codecov --token=b7bcdcc3-478d-4ccc-871c-5896bb4c7383
- coveralls
notifications:
email:
- true