forked from lexus2k/lcdgfx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (46 loc) · 1.18 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
os:
- linux
# - windows
language: cpp
# - clang
addons:
apt:
packages:
- gcc-avr
- avr-libc
- doxygen
- cppcheck
- cpputest
- graphviz
- libsdl2-dev
before_install:
- pip install --user cpp-coveralls
install: skip
jobs:
allow_failures:
- os: windows
include:
- stage: Check esp code
script:
- ./.travis/setup_esp_build_env.sh travis
- . ~/esp/esp-idf/export.sh
- make -C examples -f Makefile.esp32 PROJECT=demos/ssd1306_demo
cache:
directories:
- /home/travis/esp
- /home/travis/.espressif
- stage: Check linux code (gcc)
compiler: gcc
script:
- make docs 1> /dev/null
- make ARCH=linux EXTRA_CPPFLAGS="--coverage" SDL_EMULATION=y check
after_success:
- coveralls -b ./src --exclude docs --exclude unittest --exclude bld --exclude tools --exclude examples --exclude examples_to_do --gcov-options '\-lp'
- stage: Check avr code
script:
- make ARCH=avr SDL_EMULATION=n
- stage: Check linux code (clang)
compiler: clang
script:
- make ARCH=linux SDL_EMULATION=y check
- make cppcheck