forked from edlins/libPCA9685
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (35 loc) · 949 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
language: c
sudo: required
branches:
only:
- "master"
- "develop"
before_install:
- sudo add-apt-repository -y ppa:voltvisionfrenchy/ola
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends libola-dev --allow-unauthenticated
- sudo apt-get install -y --no-install-recommends libncurses5-dev
- sudo apt-get install -y --no-install-recommends libasound2-dev
- sudo apt-get install -y --no-install-recommends libfftw3-dev
- sudo apt-get install -y --no-install-recommends systemd
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- sudo make install
- make PCA9685test
- ctest -V
# make the examples
- make examples
# install and verify examples/olaclient
- cd examples/olaclient
- sudo make install
- cat /var/log/olaclient.log
- cd ../..
# install and verify examples/audio
- cd examples/audio
- sudo make install
- cat /var/log/vupeak.log
- cd ../..