forked from Infineon/TLE493D-3DMagnetic-Sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (37 loc) · 1.83 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
language: python
python:
- 3.7
sudo: required
cache: pip
branches:
only:
- master
env:
global:
- USR_NAME="mhoechner"
- USR_EMAIL="[email protected]"
- secure: OLSYr2ioMsqS+l43+s+yzfaVeCTK0Z1ky+Tm31bHdU66Ahq8+ZiDNX4fVDuziJtuHJWR3pEmqnYdSqSqcuByObM+I7uW3RaV2fOAtvCnWQcar5jt0+TYHuuLbfLu7vsL6ntBkQJXWibLO3JlVFp8ZVNd33WUE0mrnNdR7xormwy6EV7Ry9X/j43G+zHGjAKXxcfWIKs279pHvhtye4Vhlg3U8MkEwlkgpGiMbpWmk5CaePTi82KuoIOAceVZ8ixssuqpt4DgCnl7m6t1D+8MnjXxPLISvOr0pHNHTJ+3/gv1dGUrxENyPiW9d1q8OnrKyD9CniqC6Rklj+g5mhR+v+FJvjfa2k85SXVvFYikkqUyXkIVZkJu+PxZX0mfY18SbI7GB8mOkjgcusI9KhzNhZJQxUzza/DBe2MOR72mHVdpHlsOtx/1PjaUjJtS6lFBBZw1gCKYsFkGU3UfY+Jr3yajU1veCICgde0gm3SfhCDsQVymi7hsfnbBj8YhrY1K5+YJ6JHk5Wu6x2SsT8Al2/YSZoDdUDCZZ8Y4WNO+ZY2vF0ZU3jOcK/JSuLV6W7VzXAhSaYHVAHq2fXNgW7EWkRaLeFGtjgwvZIkhQ1Mrsl6oObMJhFhaD6vP4MlwvTWKp0MB8NdFWsgR2ITU80sREp4RBzJVSQIvLiBCIwi0upY=
matrix:
- PLATFORMIO_CI_SRC=examples/Cartesian
- PLATFORMIO_CI_SRC=examples/Cartesian_low_power
- PLATFORMIO_CI_SRC=examples/DirIndicator
- PLATFORMIO_CI_SRC=examples/DrillTrigger_SpeedAsGraph
- PLATFORMIO_CI_SRC=examples/DrillTrigger_SpeedAsNumber
- PLATFORMIO_CI_SRC=examples/sine_generator
install:
# build with stable core
- pip install -U platformio
- platformio platform install -f infineonxmc
script:
- platformio ci --lib="." --board=xmc1100_xmc2go
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
# cd $TRAVIS_BUILD_DIR/docs
chmod +x publish_pdf.sh
./publish_pdf.sh
fi