Andrew Tridgell
72e4ed5665
autotest: no need to check other repos now
...
we don't need to check other repos now we use submodules for all code
2016-04-01 09:44:33 +11:00
Andrew Tridgell
36ef4d422c
Revert "autotest: added a temporary web bug"
...
It has done its job, and we now know the IP of the old server
2016-04-01 08:10:02 +11:00
Andrew Tridgell
20cd06da09
autotest: added a temporary web bug
...
(we need to find IP of old autotest server)
2016-03-31 15:22:09 +11:00
Andrew Tridgell
e90edd0abc
autotest: build in a constant directory
...
this gives a much higher hit rate in ccache
2016-03-30 09:01:24 +11:00
Andrew Tridgell
e0a465f8f4
autotest: added some parallelism to px4 build in build_binaries
2016-03-30 07:45:11 +11:00
Andrew Tridgell
af68fa94c0
autotest: fixed build_binaries.sh script bug
2016-03-29 15:39:08 +11:00
Andrew Tridgell
2806171839
autotest: use recursive forced update in build_binaries.sh
2016-03-28 15:01:01 +11:00
Andrew Tridgell
df765f0d43
autotest: raise lock timeout
2016-03-26 19:28:04 +11:00
Peter Barker
39ab0e5b7d
autotest: buildand retain version files
2016-03-25 21:02:40 +11:00
Andrew Tridgell
dea708b368
Tools: switch to ardupilot.org for firmware and autotest
2016-03-25 16:46:11 +11: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
Francisco Ferreira
dd93f62bdd
ci: fix PATH export
2016-03-20 00:17:02 -03:00
Francisco Ferreira
34de26502d
ci: add Clang package
...
Use flags to tell Waf what compiler to use
Don't use Make build system if compiler is Clang
2016-03-20 00:17:02 -03:00
Peter Barker
48f7aa1556
Tools: build_parameters.sh also stashes Parameters.rst
2016-03-17 18:16:10 +11:00
Peter Barker
6a44cb244d
Tools: factor build_parameters.sh
2016-03-17 18:16:10 +11:00
Lucas De Marchi
df150cd8dd
ci: add missing ppa for Trusty
...
Thanks Francisco Ferreira.
2016-03-14 18:48:03 -03:00
Lucas De Marchi
02619b4a25
ci: install cmake >= 3.2
...
Also remove the -qq from the call to apt-get install so it's easier to
debug failures in future.
2016-03-14 14:55:22 -03:00
Grant Morphett
0d9a3840d8
autotest: Added submodule update and removed old modules update
...
Firstly build.All was failing as the submodules had not been updated
so the 'git submodule update' in this commit resovles that.
Secondly, now that the dependant projects like PX4Firmware etc are git
submodules of ardupilot we no longer need to check them out separately
and update them so I have removed all those.
I left MAVProxy as it isn't a submodule of ardupilot.
2016-03-08 11:40:48 +11:00
Fredrik Hedberg
e88e8835b1
Tools: Use GCC 4.9 as an Ubuntu prereq as older version is no longer available.
2016-02-29 16:58:48 -03:00
Andrew Tridgell
15945c50cb
scripts: ensure we have clean build for px4
2016-02-24 19:33:16 +11:00
Gustavo Jose de Sousa
38da32853a
ci: use --enable-benchmarks in waf configure
2016-02-22 15:36:48 -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
Gustavo Jose de Sousa
7b0a6d301d
ci: use command 'all' instead of 'build' for waf
...
The command build uses 'bin' programs group by default. By using the command
'all', we tell the build system to build all programs.
2016-02-01 14:08:39 -02:00
Lucas De Marchi
36d669a2ab
ci: switch linux/sitl compiler to 4.9
2016-01-20 14:19:08 -02:00
Lucas De Marchi
1cd20c50a6
ci: integrate ccache configuration
...
Also split the exportline setting to allow one PATH per line.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
c8d01f4bf4
ci: add configure-ci.sh
...
In order to use it in Travis and in Semaphore.
2016-01-20 14:19:07 -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
c2a12b55a0
scripts: raise max lockage in autotest
2016-01-20 07:43:43 +11:00
Andrew Tridgell
b8c6bee132
autotest: raise overall timeout
2016-01-20 07:42:29 +11:00
Andrew Tridgell
15c8a27d5e
scripts: added some debug to travis script
2016-01-20 07:42:28 +11:00
Gustavo Jose de Sousa
6ca58eac78
travis: fix verification for calling waf check
...
The use of `[[ $t == linux ]] && $waf check` makes the script exit with
non-zero status when $t isn't linux *and* that's the last thing executed.
2016-01-19 11:56:30 -02:00
Andrew Tridgell
56f8e3d414
scripts: added runfliptest.sh example script
2016-01-19 14:30:09 +11:00
Andrew Tridgell
889da98ca6
scripts: cope with older releases that don't support FMUv4
2016-01-19 14:18:32 +11:00
Gustavo Jose de Sousa
d7f50ab668
travis: call waf check for linux
...
That helps preventing applying code that break unit tests.
2016-01-19 00:21:15 -02:00
Andrew Tridgell
3ea05759d1
travis: setup BUILDROOT to try to make builds faster
2016-01-19 12:28:04 +11:00
Andrew Tridgell
1416780976
scripts: copy px4-v4 binaries to autobuild published directories
...
this allows users to use pre-built binaries for pixracer
2016-01-19 11:18:51 +11:00
Andrew Tridgell
df64a63243
scripts: use BUILDROOT in build_all.sh and build_binaries.sh
...
better ccache performance
fixup
2016-01-16 16:07:42 +11:00
Andrew Tridgell
d65ace2e34
scripts: make build_examples.sh much faster
2016-01-15 19:09:21 +11:00
Gustavo Jose de Sousa
7d94095497
travis: unset CXX and CC at the beginning
...
Those environment variables are set by default by Travis. That fails cross
compilation with waf. There is a GitHub issue open related to that behavior at
https://github.com/travis-ci/travis-ci/issues/4682 . This change can be
reverted if eventually that is fixed.
2016-01-11 16:31:59 -02:00
Andrew Tridgell
2c617cf8f0
scripts: stop building flymaple for plane
...
it no longer fits in flash
2016-01-09 17:03:41 +11:00
Julien BERAUD
514b60cf5e
Tools: add bebop build to travis
2015-12-15 18:59:03 +09:00
Gustavo Jose de Sousa
9b7f365e3a
travis: fix waf calls
...
The path to waf became wrong after the decision of using waf as a submodule.
2015-12-08 11:14:04 +11:00
Gustavo Jose de Sousa
8456cb4532
travis: support waf build
...
Currently, an associative array variable waf_supported_boards is used to
trigger waf build only the currently supported boards. After the transition to
the new build system is done, that variable can be removed.
We're just building for now - there is a current issue related to the rotation
for solo, and it turns out that the first unit test added as an example is for
vector rotations. After that is solved we can use waf check, so that unit tests
are run as well.
2015-12-03 07:54:32 +11:00
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