Commit Graph

47 Commits

Author SHA1 Message Date
Andrew Tridgell f3ee9fe9bd travis: split up jobs to keep below time limit 2016-12-19 08:07:13 +11:00
Andrew Tridgell bc304a21a2 travis: test build FMUv3 2016-12-19 08:07:12 +11:00
Pierre Kancir 10c3d82c67 Tools: update ci install script 2016-10-16 13:02:48 -02:00
Francisco Ferreira 50527f6088 travis: temporarily remove clang builds
The LLVM APT repo has been temporarily switched off, so remove clang builds until it is back on
2016-05-31 18:44:06 +01:00
Francisco Ferreira abddef9784 travis: set cron env var 2016-05-25 11:39:07 -03:00
Francisco Ferreira eb23e461d4 travis: change matrix and add fast finish
Travis has fixed the bug affecting cache's names so we don't need custom compiler names anymore
Change and reorder jobs
Also add fast finish, so that when a job fails, the build fails immediately
2016-05-25 11:38:59 -03:00
Francisco Ferreira fedc07a766 travis: remove pip cache, it adds more trouble than benefict 2016-05-25 11:38:59 -03:00
Francisco Ferreira a74a7e5dfe ci: update ccache and improve its support
Update ccache to 3.2.5
Set ccache size
Display ccache statistics for each build
Disable ccache for configure phase
Export ccache bin path
travis: remove ccache stats before saving cache
2016-05-25 11:38:51 -03:00
Staroselskii Georgii 1605e34f7d Tools: added Navio 2 build to CI
This way Navio 2 will be built on Travis.
2016-04-29 16:48:36 -03:00
Francisco Ferreira be1186f47f travis: readd builds - reverts 375c9d1 2016-04-17 14:47:55 -03:00
Francisco Ferreira 056145df92 travis: hack to make Travis cache ccache properly until https://github.com/travis-ci/travis-ci/issues/4393 is solved 2016-04-17 14:47:55 -03:00
Francisco Ferreira f289c596b5 travis: add cache 2016-04-17 14:47:55 -03:00
Francisco Ferreira e2db7a9125 travis: change to container-based builds 2016-04-17 14:47:55 -03:00
Francisco Ferreira 95bdbd6d8a travis: clean up install step 2016-04-17 14:47:55 -03:00
Francisco Ferreira d8f8f1bc45 travis: use apt addon 2016-04-17 14:47:55 -03:00
Andrew Tridgell 375c9d1776 Travis: reduced travis build time
we are running past maximum cpu time in travis
2016-04-12 06:02:01 +10:00
Francisco Ferreira 637c3902b4 travis: remove Travis cache since it isn't used currently 2016-04-05 20:27:53 -07:00
Francisco Ferreira 4d20ccadbc travis: add PX4-v4 build to Travis 2016-03-28 17:43:16 -03:00
Francisco Ferreira 5b3543bd60 travis: add one more job so Travis doesn't fail for lack of time 2016-03-28 17:43:16 -03:00
Francisco Ferreira 4643c7bf9e travis: add Clang builds
PX4 isn't supported at the moment and sitltest always use GCC, so we include the only ones that build
Travis has old LLVM installed and old Clang in a strange path (not a package) which interfere with the use of clang-3.7
2016-03-20 00:17:02 -03:00
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