-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
.travis.yml
58 lines (55 loc) · 1.38 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
# Configuration
os:
- linux
# - windows
language: cpp
# compiler:
# - gcc
# - clang
addons:
apt:
packages:
- gcc-avr
- avr-libc
- doxygen
- cppcheck
- cpputest
- graphviz
- socat
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
- cd examples/esp32_idf/uart/tinyfd_loopback/components/tinyproto && ln -s ../../../../../../src && ln -s ../../../../../../component.mk
- cd ../.. && make defconfig
- make
cache:
directories:
- /home/travis/esp
- /home/travis/.espressif
- stage: Check clang linux code
compiler: clang
script:
- make
- make install DESTDIR=test_path
- ./.travis/check_install.sh . test_path
- stage: Check gcc linux code
compiler: gcc
script:
- make
- make docs 1> /dev/null
- ./.travis/run_tests.sh
- make clean
- make EXTRA_CPPFLAGS="--coverage" check
after_success:
- coveralls -b . --exclude docs --exclude extra --exclude unittest --exclude bld --exclude tools --exclude examples --gcov-options '\-lp'
- stage: Check avr code
script:
- make ARCH=avr