forked from ahodges9/LedFx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (43 loc) · 965 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
sudo: false
addons:
apt:
packages:
- libudev-dev
matrix:
fast_finish: true
include:
- python: "3.6"
env: TOXENV=py36
# #after_success: coveralls
- python: "3.7"
env: TOXENV=py37
dist: xenial
- python: "3.8-dev"
env: TOXENV=py38
dist: xenial
if: branch = dev AND type = push
allow_failures:
- python: "3.8-dev"
env: TOXENV=py38
dist: xenial
language: python
cache:
directories:
- $HOME/.cache/pip
- "node_modules"
before_install:
- sudo apt-get update
- sudo apt-get install portaudio19-dev # Install portaudio (requirement for pyaudio)
install:
- npm install
- pip install tox-travis
- pip install -r requirements_docs.txt
script:
# Build the frontend first
- npm run build
# Then, build the backend
- travis_wait 30 tox --develop
# Finally, build the docs
- travis-sphinx build --nowarn --source=docs
after_success:
- travis-sphinx deploy