Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Tridgell 119cf6bb13 ci: added sitltest target
this adds some basic SITL testing to our CI
2016-02-22 12:34:32 +11:00
Lucas De Marchi 36d669a2ab ci: switch linux/sitl compiler to 4.9 2016-01-20 14:19:08 -02:00
Ricardo de Almeida Gonzaga 921da676db travis: start using configure-ci.sh 2016-01-20 14:19:08 -02:00
Ricardo de Almeida Gonzaga 0db54e7b36 ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh 2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga e816a4845a ci: rename build_all_travis.sh to build_ci.sh
Since we're going to support SemaphoreCI[1] besides Travis.

[1] - https://semaphoreci.com/
2016-01-20 14:19:07 -02:00
Andrew Tridgell 1c73549451 travis: don't save ccache between runs
it costs too much to pack/unpack
2016-01-19 12:21:10 +11:00
Lucas De Marchi f0d9f91650 travis: move some builds to the first thread
Now that we are build every linux board twice (one with make and one
with waf) and additionally building all examples and tests, it's taking
a long time to leave all linux boards in the same thread. Let's move
some of them to the other thread.
2016-01-18 20:30:14 -02:00
Don Gagne 02cfbb25b0 travis: fail build on parameter parse errors 2015-12-30 17:16:20 -02:00
Julien BERAUD 514b60cf5e Tools: add bebop build to travis 2015-12-15 18:59:03 +09:00
Lucas De Marchi 9b38c7fd72 travis: enable ccache 2015-11-26 07:56:52 +11:00
Lucas De Marchi b8f7f2306b travis: cache compilers
This currently removes around 25s from compilation time while also being
more resilient to network outages. The drawback is that when changing
the compiler we may need to clean the caches.
2015-11-26 07:56:52 +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
Lucas De Marchi ddc3988b4a Travis: add minlure target 2015-10-24 14:28:31 +11:00
Lucas De Marchi 6cf1c5fdd6 Tools: add raspilot to travis builds 2015-09-24 15:31:32 +10:00
Andrew Tridgell 7eedf2cafe Travis: removed APM2 from .travis.yml 2015-08-28 10:44:01 +10:00
Andrew Tridgell f628440df9 Travis: removed parallism from coverity build
prevent compiler faults
2015-06-20 17:03:15 +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 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
Andrew Tridgell 3f3cca4415 Travis: added coverity scan travis rules 2015-06-03 06:44:17 +10:00
Lucas De Marchi b4718f6943 Travis: require sudo so not to run on a container 2015-04-14 09:07:31 +10:00
Andrew Tridgell bea3b4780d Travis: use install-travis-env.sh 2015-02-08 22:00:10 +11:00
Jonathan Challinger e51f837360 Travis: don't depend on directory name being "ardupilot" 2015-01-13 12:21:46 +13:00
Andrew Tridgell 9cafe0fdc3 travis: added gitter notifcations 2015-01-01 09:43:16 +11:00
Andrew Tridgell 494789054e travis: enable wide range of builds in Travis-CI 2015-01-01 09:32:25 +11:00
Markus Koetter e06b3f3ff6 Travis-CI: add vrubrain-v51 target (Copter) 2014-07-15 11:50:09 +10:00
Arthur Benemann ef3b503448 tools: Adding support for Travis-CI 2014-07-15 11:49:16 +10:00