forked from alexa-pi/AlexaPi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 988 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
29
30
31
language: python
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
# pylint doesn't work on 3.6 yet
# - "3.6"
dist: trusty
# On the container-based infrastructure, trusty-backports isn't available, hence this silly thing
sudo: required
# It installs old shellcheck from trusty-backports
# Installing from Debian Sid or Ubuntu Zesty doesn't work
# Some discussion: https://github.com/koalaman/shellcheck/issues/785
before_install:
- sudo apt-get update
- sudo apt-get install -y wget git swig libasound2-dev libpulse-dev vlc-nox shellcheck
install:
- pip install -r src/requirements.txt
- pip install -r src/dev-requirements.txt
- yes | pip install git+https://github.com/duxingkei33/orangepi_PC_gpio_pyH3.git -v
script:
- pylint --rcfile=pylintrc --ignore=tunein.py src/auth_web.py src/main.py src/alexapi
- python -c "import yaml; yaml.load(open('src/config.template.yaml'))"
- cd src/scripts && shellcheck -e 2164 ./inc/*.sh ./inc/os/*.sh ./inc/device/*.sh ./*.sh