forked from Infineon/DPS310-Pressure-Sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 1.85 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
language: python
python:
- "2.7"
sudo: required
branches:
- master
- dps310
env:
global:
- USR_NAME="Sun Yuxi (IFAG DES SDF FW)"
- USR_EMAIL="Yuxi.Sun@infineon.com"
- secure: Enf0zBLAVvMGdQr2IqJgECXQ50mkLPhBB3LdxI7g0usPTrYYY7/X2ySRKZYqs+W87raVQ1S1pU35S8XvZ4Lf4cfhmQCLnVnMxinDK7gdku0pgwObWCwHcsYj8fObaK8bF19mhLnXORx6FXoLs/MJrCsqoJdCT6g8OIYStBJD1hyAg7ttHwWtopC+Z1W3dXqqO1tUl2rN/zm4l2YWVoc3CI8JewDalbcSyx5l0muClzxSKvCGYZ6ia62QoenctDnDu4rqoJL9f/T2x4fclqFx06T2mmmYOlzE3fC3HgeephskWtNY8x4+MDXG8ZIdyxsSQrX4vBf8Y4DTvm067VI8GW6P6hu2fLf2WxKDllmnugp+tzdIZA/G9qzG9bCqgsHhWq1nPCSf7H3eGQ38nMg5nsrZW6hx20GHkEMiFEiLZC5VqANihowskEjRmTeTQBEjvUC0+WDGA5i0C8U/J7Ti/u6VOKltGZpJmPvkJRnc8dpous+om7DrjLF+ft17LuSt4o7XgrMqGqKjL0vWPoAPve1BUVRPaDh6oU3znBnQLjk787SoypwUSg/VOu86iqQa2VhJI1dUsPu7PMNltL1DiLlWoPKA+0x9fAZ5qZFuiBg5cxOEgoGcXJ7GOlSYdLDBhaMqynh1/j2Ka18Wr5SKjOWAia+yyg6X0p0IvapnNhU=
matrix:
- PLATFORMIO_CI_SRC=examples/i2c_background
- PLATFORMIO_CI_SRC=examples/i2c_command
- PLATFORMIO_CI_SRC=examples/i2c_interrupt
- PLATFORMIO_CI_SRC=examples/spi_background
- PLATFORMIO_CI_SRC=examples/spi_command
- PLATFORMIO_CI_SRC=examples/spi_interrupt
install:
# build with stable core
- pip install -U platformio
- platformio platform install -f infineonxmc
script:
- platformio ci --lib="." --board=xmc1100_xmc2go --board=xmc1100_boot_kit --board=xmc4700_relax_kit --board=uno --board nodemcuv2
after_success:
# only build once (after one job by checking id, however this does not work reliably)
- |
if [ $(($TRAVIS_JOB_ID - $TRAVIS_BUILD_ID)) -eq 2 ]; then
export REPO_NAME=${TRAVIS_REPO_SLUG#*/}
git clone https://github.com/Infineon/InfineonDoxyGenerator.git
cd InfineonDoxyGenerator/docs
chmod +x publish_pdf.sh
./publish_pdf.sh
fi