Commit Graph

202 Commits

Author SHA1 Message Date
Andrew Tridgell
672fc86d44 Travis: added px4-v4 to the travis build 2015-11-27 19:23:29 +11:00
Lucas De Marchi
17d9da4036 travis: use container infrastructure
In order to use the container infrastructure we can't use sudo to
install packages. Now Travis has a way to install packages by specifying
them in the .travis.yml. This greatly simplifies how we install the
packages and there's no need for a separate script anymore.

This also removes several outdated packages that aren't needed anymore.
2015-11-26 07:56:52 +11:00
Andrew Tridgell
d43ef07f98 autotest: switched examples build to navio
apm2 no longer supported. Navio provides good coverage of the code for
example builds
2015-11-16 07:57:57 +11:00
Andrew Tridgell
6bad33c922 scripts: use px4-clean for all binaries targets 2015-11-05 16:38:48 +11:00
Lucas De Marchi
d16a924a15 scripts: don't install avr tools 2015-11-04 12:14:16 +11:00
Lucas De Marchi
5c29703732 build: remove tools to find arduino 2015-11-04 12:14:16 +11:00
Lucas De Marchi
ddc3988b4a Travis: add minlure target 2015-10-24 14:28:31 +11:00
Andrew Tridgell
16bc7d8b2e Tools: fixed datestamp on compiler download 2015-10-20 15:54:44 +11:00
Andrew Tridgell
279a320f44 Tools: switch autobuild to 4.9 compiler 2015-10-20 15:28:13 +11:00
Philippe Hamelin
3af95cc3da scripts: add catkin_pkg and python-empy to Ubuntu prerequisites 2015-10-08 15:30:10 +09:00
Lucas De Marchi
6cf1c5fdd6 Tools: add raspilot to travis builds 2015-09-24 15:31:32 +10:00
Grant Morphett
f871f040fb scripts: Adding AT to autotest build 2015-09-16 09:24:29 +09:00
Grant Morphett
00e6cd40e5 scripts: Support to build for frame specific tags
The driver for this is to separate the Copter and TradHeli builds so
Copter and TradHeli do not have to be released at the same time.  This
will also work for all frame times but it is anticipated only required
by Heli.
2015-09-08 09:05:43 +10:00
Grant Morphett
ccfefac2fe build_all: Remove the all target as it just builds SITL. 2015-08-31 20:45:11 +09:00
Grant Morphett
2769487ac0 build_all: Need to remove APM2 from the default master build 2015-08-31 18:31:43 +10:00
Grant Morphett
c0a28c45f8 scripts: using the wrong variable for the board type 2015-08-28 12:00:07 +10:00
Andrew Tridgell
b03c6137a8 Travis: don't do APM2 build in travis any more
we no longer require APM2 compatibility for patches in master
2015-08-28 10:42:45 +10:00
Andrew Tridgell
81d4864c10 autotest: added more autotest build logging 2015-08-27 12:03:28 +10:00
Andrew Tridgell
b966f7fc3e autotest: ensure we start on master branch 2015-08-27 12:03:14 +10:00
Lucas De Marchi
a2d17b87c7 Tools: add realpath to ubuntu prerequisites
The realpath tool may be missing on a Ubuntu distro and we use it in
sim_vehicle.sh.  Make sure it's also installed as part of sitl packages.

On Archlinux it's part of the coreutils package which is part of the
base group. Therefore it's guaranteed to be available.

Fix #2730.
2015-08-23 11:14:53 +09:00
Andrew Tridgell
1cd5b9da9b scripts: use AVR specific branches for builds for APM1/APM2 2015-08-20 10:45:00 +10:00
Lucas De Marchi
1f90d43c57 Tools: allow script to fixup a single file
Instead of always trying to fix the entire tree, accept paths in the
command line so it only fixes that paths. This allows to easily rebase a
branch after the header changes, without touching the rest of the tree.
2015-08-18 17:12:52 +10:00
squilter
79efad339f Tools: add ccache setup to arch setup script 2015-08-12 14:29:51 -07:00
squilter
a112e08e42 Tools: add script to set up Arch Linux 2015-08-12 14:29:48 -07:00
Gustavo Jose de Sousa
ae9a314295 Tools: add script for standardize includes of libraries headers 2015-08-11 16:38:25 +10:00
squilter
c5550329a3 Tools: fix ubuntu prereqs script to force python2 2015-07-18 13:48:29 +09:00
squilter
506970fbd3 Tools: Add Bebop prereqs to Ubuntu script 2015-07-14 18:10:56 +09:00
Andrew Tridgell
42023eb17a autotest: check for .gitmodules before ldir check
another attempt to get build_binaries going
2015-06-26 11:32:15 +10:00
Andrew Tridgell
48828a7834 autotest: more changes to cope with older builds without submodules 2015-06-24 09:36:21 +10:00
Andrew Tridgell
fd17a69cd1 autotest: skip binary builds without submodules
the build_binaries is trying to build for navio and pxf without
submodules
2015-06-23 21:43:44 +10:00
Andrew Tridgell
63895cbe75 autotest: build pxf and navio binaries for firmware.diydrones.com 2015-06-23 14:27:49 +10:00
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