forked from Zanduino/BME680
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
81 lines (72 loc) · 3.87 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
###################################################################################################
## Travis-CI control file ##
## ##
## This YML file controls the way that TRAVIS-CI works for testing the compilability of the ##
## library and example programs for all supported platforms. Rather than re-invent the wheel, ##
## the public scripts written by the folks at www.adafruit.com are used; as they will add new ##
## platforms as needed and thus the continuous integration process for this library will be kept ##
## up-to-date. ##
## ##
## Date Developer Comments ##
## ========== ================= ================================================================ ##
## 2020-10-05 SV-Zanshin Issue #29, changed location of default doxyfile ##
## 2020-10-04 SV-Zanshin Issue #29, common doxyfile and define environment vars here ##
## 2020-07-01 SV-Zanshin Issue #25, added clang-format checking ##
## 2020-06-12 SV-Zanshin Added "cache:" section ##
## 2020-05-23 SV-Zanshin Cleaned up documentation format ##
## 2020-05-09 SV-Zanshin Removed unnecessary install libraries ##
## 2019-01-23 SV-Zanshin Corrected PRETTYNAME ##
## 2019-01-20 SV-Zanshin Linked to Adafruit script rather than defining all of the tests ##
## locally and maintaining them ##
## 2019-01-19 SV-Zanshin Initial coding ##
## ##
###################################################################################################
language: c
sudo: false
#########################################################
# Keep the gh-pages from being included in the CI runs ##
#########################################################
branches:
except:
- gh-pages
##cache:
## directories:
## - ~/arduino_ide
## - ~/.arduino15/packages/
git:
depth: false
quiet: true
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
- key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- python3-pip
- python3-wheel
- clang-format-5.0
env:
global:
- PRETTYNAME="Bosch BME680 Arduino Library"
- DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile
- PROJECT_NAME="BME680"
- PROJECT_NUMBER="Version 1.0.9"
- PROJECT_BRIEF="Arduino library for the Bosch BME680 Temperature, Humidity, Pressure and Gas sensor"
- PROJECT_LOGO=""
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
- curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/run-clang-format.py > run-clang-format.py
- curl -SLs https://raw.githubusercontent.com/Zanduino/Common/main/Doxygen/Doxyfile > Doxyfile
install:
script:
- python run-clang-format.py -r .
- build_main_platforms
notifications:
email:
on_success: change
on_failure: change
###########################################################
# Generate the Doxygen documentation upon successful run ##
###########################################################
after_success:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)