forked from MatrixPilot/MatrixPilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (45 loc) · 1.17 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
# Build and autotest script for MatrixPilot firmware
# http://travis-ci.org
language: cpp
sudo: true
addons:
apt:
packages:
- libc6:i386
- libx11-6:i386
- libxext6:i386
- libstdc++6:i386
- libexpat1:i386
- mesa-common-dev
before_install:
install:
- chmod +x travis-install-dependencies.sh
- ./travis-install-dependencies.sh
- export PATH=$PATH:/opt/microchip/xc16/v1.26/bin
- xc16-gcc --version
before_script:
- pwd
- ls -la
script:
- mkdir -p ./_build-yml; cd ./_build-yml
- mkdir -p ./SIL; cd ./SIL
- make -j 8 -f ../../makefile TARGET_NAME=MPSIM DEVICE=SIL
- cd ..; mkdir -p ./AUAV3; cd ./AUAV3
- make -j 8 -f ../../makefile TARGET_NAME=MatrixPilot DEVICE=AUAV3
- cd ..; mkdir -p ./UDB5; cd ./UDB5
- make -j 8 -f ../../makefile TARGET_NAME=MatrixPilot DEVICE=UDB5
- cd ..; mkdir -p ./UDB4; cd ./UDB4
- make -j 8 -f ../../makefile TARGET_NAME=MatrixPilot DEVICE=UDB4
- cd ../..
- pwd
- export PATH=/opt/microchip/xc16/v1.26/bin:$PATH
- xc16-gcc --version
- ./build-all.sh
after_success:
- find _build-yml | grep hex
- find _build-yml | grep map
- find _build-yml | grep out
- find _build | grep hex
- find _build | grep map
- find _build | grep out
- cd ~