Lucas De Marchi
ac09a61238
Travis: split build by target instead of vehicle
...
This way we can group together the builds that are fast so we pay the
"setup price" just once. Let the long PX4 build on its own VM because
it's the one that takes most of the time building NuttX.
By grouping the projects by target it's also easier to split the build
in more VMs if we want to speed up the build.
2015-06-17 09:26:04 +10:00
Lucas De Marchi
a435269839
Travis: make most targets run with -j2
...
As documented in Travis the VMs have 1.5 cores
(http://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-your-build-on-one-VM ).
So let's make it only -j2.
The exception is PX4 build that runs without any -j setting since NuttX
fails to build if we do that.
2015-06-17 09:26:04 +10:00
Lucas De Marchi
985764fb1c
Travis: build APMrover2 and AntennaTracker for apm2
2015-06-17 09:26:03 +10:00
Lucas De Marchi
5c5bdc2c7b
Travis: use associative arrays
...
This makes the script be more declarative and easier to extend.
2015-06-17 09:26:03 +10:00
Lucas De Marchi
ae40aed2a2
Travis: split build using vehicle types
...
Travis build is timing out because it's taking too much time. Let's
split the build so 1) they can run concurrently and 2) we don't timeout.
We still lose some time due to multiple checkouts, but at least we don't
fail the build due to timeout.
2015-06-17 09:26:03 +10:00
Lucas De Marchi
a124fbc4c2
Travis: don't build same configuration multiple times
...
In ArduPlane "make all" is the same as "make sitl" and both sitl and
linux are already covered by the loop below. Don't build the same
configuration multiple times.
2015-06-17 09:26:03 +10:00
Andrew Tridgell
22d5d2e251
scripts: fixed build_binaries for submodules
...
no longer have PX4_ROOT
2015-06-15 06:54:02 +10:00
Staroselskii Georgii
c0dceb667d
Travis: reduced number of threads used for a build
2015-06-11 16:27:51 +10:00
Andrew Tridgell
57cef63b94
autotest: enable submodule build for binaries
2015-06-09 16:57:30 +10:00
Andrew Tridgell
28ffd9d4ed
travis: setup for git submodules
2015-06-09 16:51:55 +10:00
Andrew Tridgell
e233376074
scripts: don't build VARTest example
2015-06-01 17:07:09 +10:00
Andrew Tridgell
d00f1c0d4d
scripts: fixed handling of no-pde for fw version
2015-05-22 16:07:43 +10:00
Andrew Tridgell
332fdbbbea
Scripts: removed 'make configure'
2015-05-21 10:54:19 +10:00
Andrew Tridgell
be8ebd5802
travis: don't require apm1-nologging to work
2015-05-15 17:55:50 +10:00
Andrew Tridgell
7d3b3533e4
autotest: updated wiki page names for auto-generated parms
2015-05-08 16:38:17 +10:00
Staroselskii Georgii
33aa05d7b3
Travis: NavIO compiler fix
2015-05-05 15:08:59 +10:00
Andrew Tridgell
d1de89f933
Travis: disable navio build due to another travis compiler bug
2015-04-28 14:50:10 +10:00
Staroselskii Georgii
9517bb3049
Travis: added navio target
2015-04-28 11:43:56 +10:00
Andrew Tridgell
4fe39c67b4
Build: use git checkout -f
...
this is an attempt to avoid CRLF attributes breakage with builds
2015-04-20 08:59:50 +10:00
Lucas De Marchi
5d69e2027c
Travis: install gcc-multilib to get dependency libraries
...
We are failing to execute arm-none-eabi-gcc due to missing 32 bits
libraries in travis. Install gcc-multilib so we get all of them.
This commit also calls this version of gcc in the end of
install-travis-env.sh so if it's to fail, force it to fail early on.
2015-04-14 09:07:31 +10:00
Andrew Tridgell
793a212d28
Travis: removed script breakage
2015-04-06 15:29:57 -07:00
Andrew Tridgell
094910d7e4
Travis: more debugging code
2015-04-05 21:17:20 -07:00
Andrew Tridgell
991d111d91
Travis: another attempt at fixing compiler path
2015-04-05 12:24:54 -07:00
Andrew Tridgell
7048836d1e
Travis: make arm compiler install unconditional
2015-04-05 10:57:17 -07:00
Andrew Tridgell
1315ed7ddf
Travis: allow upgrade to gcc 4.8 to fail
2015-04-05 09:43:57 -07:00
Andrew Tridgell
1cdaacdaa1
autotest: avoid a px4-clean for each vehicle type
2015-03-25 22:36:05 -07:00
Andrew Tridgell
58a1ead765
autotest: speed up build_binaries a bit
...
don't need to rebuild from scratch for copter
2015-03-25 22:33:31 -07:00
Andrew Tridgell
9ec9d58fb2
autotest: removed flymaple copter build
...
doesn't support NavEKF
2015-03-14 20:00:04 +11:00
Andrew Tridgell
0bafd33cfa
autotest: disable remaining APM1 build for copter
2015-03-14 15:04:22 +11:00
Andrew Tridgell
ac4b52a31c
Build: removed HIL builds
...
now use HIL_MODE=1
2015-03-13 22:54:55 +11:00
Andrew Tridgell
472a50f9c2
Build: removed APM2 build for copter
...
no longer supported
2015-03-13 11:36:54 +11:00
Andrew Tridgell
0b261e8695
Travis: used sudo with pip
2015-03-13 10:54:59 +11:00
Andrew Tridgell
de2c22b4b9
Travis: try to upgrade to g++ 4.8
2015-03-13 10:51:31 +11:00
Andrew Tridgell
2e6d79f449
Travis: disable droneapi and upgrade pip
2015-03-12 17:28:04 +11:00
Andrew Tridgell
67e10ff392
Travis: ignore failure of extra deb install
2015-03-12 17:28:04 +11:00
Andrew Tridgell
c42a40553a
Travis: install some extra packages for AVR
2015-03-12 12:50:30 +11:00
Andrew Tridgell
dd5be8837a
autotest: raise timeout
2015-02-19 21:49:43 +11:00
Andrew Tridgell
0b3118b3c4
Travis: more packages for new PX4 build
2015-02-14 12:31:49 +11:00
Andrew Tridgell
801c4d0a93
Build: disable board specific build tags
...
disable this until we work out why apm1/apm2 tags have re-appeared
2015-02-12 06:21:03 +11:00
Andrew Tridgell
f69622f041
Travis: cope with setuptools upgrade failing
2015-02-11 21:18:35 +11:00
Jonathan Challinger
5059fc620c
Build: add git hashes to .px4 files
2015-02-11 20:22:08 +11:00
Andrew Tridgell
a118ac69c6
Travis: use separate pip commands to find travis issue
2015-02-08 22:11:57 +11:00
Andrew Tridgell
97d6543520
Travis: added install-travis-env.sh
...
this will be used for travis test builds, to avoid some issues with
pip install using the generic script
2015-02-08 21:59:58 +11:00
LukeMike
a665037176
TOOLS: changed script for building single project
2015-02-02 08:44:01 +11:00
LukeMike
903f5d2211
TOOLS: changed permissions of scripts for building
2015-02-02 08:44:00 +11:00
Emile Castelnuovo
7795cb6929
Tools: update scripts to build all firmwares for all VR boards
2015-02-02 08:43:58 +11:00
LukeMike
2522709a78
Tools: added script to build all VirtualRobotix binaries
2015-02-02 08:43:57 +11:00
Andrew Tridgell
731678b0a1
Travis: test building without logging for plane
2015-01-17 10:46:01 +13:00
Andrew Tridgell
c9b7d27b98
Travis: use px4-cleandep to make script more robust
2015-01-07 08:40:43 +11:00
Andrew Tridgell
1359e6d321
travis: we need a "make configure" at the start
2015-01-01 09:40:32 +11:00