Commit Graph

85 Commits

Author SHA1 Message Date
Peter Barker abae134f53 travis: run unit tests 2019-09-24 14:30:13 +10:00
Peter Barker cefd30a086 travis: run balancebot tests as part of CI 2019-09-18 09:10:37 +10:00
Peter Barker 9e46581d5d travis: poke ptrace_scope so we get stack dumps on FPE/segv etc 2019-09-06 13:44:57 +10:00
Andrew Tridgell ee4acb44db CI: exclude libcanard from flake8 tests 2019-08-27 10:29:56 +10:00
Andrew Tridgell 99bcab955b CI: added peripheral build to travis 2019-08-27 10:29:56 +10:00
Michael du Breuil 23cf60e47e Travis: Run CubeOrange bootloader to run a >2 MB bootloader 2019-06-19 11:26:44 +10:00
Peter Barker 1716bd7a7d travis: install gdb for stack traces 2019-06-14 20:43:54 +10:00
Peter Barker 790c566396 travis: build all sitl targets under clang++ 2019-04-30 09:29:59 +10:00
Michael du Breuil 078b9e85c2 Travis: Remove boards that were moved to semaphore 2019-04-20 12:33:44 +10:00
Andrew Tridgell db5776d080 travis: added fmuv2 plane build
this tests HAL_MINIMIZE_FEATURES build
2019-04-08 09:34:15 +10:00
Patrick José Pereira fdd493f079 travis: Move from Ubuntu 14.04 to 16.04
14.04 end of life is near

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-03 14:04:50 +11:00
Patrick José Pereira cf595e4f40 travis: Use clang-7 and not clang-5
This fix c8f726151b
It was building by default with clang-5.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-03-27 14:54:21 +11:00
Andrew Tridgell 9c3e606076 CI: added configure-all.py to travis testing
make sure all hwdef.dat files can be used
2019-03-15 11:54:57 +11:00
Andrew Tridgell f30f7ca395 travis: added F7 and H7 boards to travis builds
ensure these two build types don't get broken
2019-03-11 08:53:06 +11:00
Pierre Kancir abef07ac9c CI: allow travis to upload failed test log on server 2019-03-01 20:48:39 +11:00
cclauss f5d23f8701 CI: Run flake8 on Python 3.7
Yet another attempt at #7131 because without automated test, these _undefined names_ keep creeping back into the codebase: #9225, #9226, #9229, #9788, #10038, and a new one below...

[flake8](http://flake8.pycqa.org) testing of https://github.com/ArduPilot/ardupilot on Python 3.7.1

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Tools/autotest/sim_vehicle.py:396:39: F821 undefined name 'autotest'
    swarminit_filepath = os.path.join(autotest, "swarminit.txt")
                                      ^
1     F821 undefined name 'autotest'
```
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2019-01-23 09:35:55 +11:00
Andrew Tridgell 9596358f3c CI: removed px4 builds 2018-12-22 11:06:59 +11:00
Patrick José Pereira a8485fbde5 travis: Run ArduSub test
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-24 10:20:08 +11:00
Patrick José Pereira c8f726151b travis: Add clang tests
Move from clang3.7 to 7

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:34:30 +10:00
Andrew Tridgell 19dae42c4f travis: added build of iofirmware 2018-09-19 12:14:15 +10:00
Francisco Ferreira 6bdaf87dd2 travis: don't run Make builds for PX4-v2
It has been failing due to lack of space for a long time without having been fixed so just stop testing it
2018-08-30 16:34:56 -07:00
Francisco Ferreira bf8c0dff06 travis: update and cleanup settings
Remove coverity settings since that's in its own branch
Remove old CMake PPA (Trusty has a more recent version)
Remove ccache from APT install since we build it from source
Disable caching ccache DB between builds
Don't run jobs on cron that won't do Make builds
2018-08-30 16:34:56 -07:00
Andrew Tridgell 4cafcc4eae travis: added revo-bootloader to CI
this ensures the bootloader build will keep working
2018-06-23 17:06:38 +10:00
Michael du Breuil dcc25838fb CI: Run param parse last, on all CI instances
This makes param parse failures much more obvious in the CI logs, as
well as ensuring that both Semaphore and Travis will fail on bad
parameter data (which should reduce user confusion when one service
passes and the other fails).
2018-06-05 09:11:09 +10:00
Michael du Breuil e1f43bb082 Travis: Resume testing plane as part of SITL 2018-04-11 13:26:29 +10:00
Andrew Tridgell 8bbb87de3f travis: build revo-mini
we need at least one build without FATFS support, as it changes the
build quite a lot
2018-04-07 09:10:29 +10:00
Michael du Breuil c70282cb23 Travis: Move a number of builds to Semaphore CI, split sitltest 2018-01-23 13:34:54 +09:00
Andrew Tridgell e4a6439eb9 travis: moved fmuv3 into px4-v3 travis build 2018-01-15 11:46:02 +11:00
Andrew Tridgell a9275cea22 travis: added ChibiOS fmuv3 to build 2018-01-15 11:46:02 +11:00
Peter Barker f72e125ab5 Travis: use a sourceline to specify a PPA for CMake 2017-12-14 19:33:00 +09:00
Andrew Tridgell a5b7de2577 Travis: fixed path for cmake import 2017-12-13 14:09:19 +11:00
Lucas De Marchi bba98d6df7 build: remove raspilot from travis 2017-09-12 15:14:20 -07:00
Francisco Ferreira fbae9b41cf
travis: remove px4-v1 and px4-v4pro that are moved to Semaphore 2017-09-08 16:33:15 +01:00
Francisco Ferreira c95d8ae258
travis: merge some jobs 2017-09-08 16:33:15 +01:00
Kevin Lopez Alvarez ccdb6bfe37 travis: Add ppro target 2017-07-24 13:47:44 +10:00
Francisco Ferreira 81aa41ab51
travis: split param check for each vehicle
the param_parse Python script has bugs when trying to parse all vehicles at once, so make each one at a time
use the new option so that only validation is performed
2017-07-18 14:15:39 +01:00
Andrew Tridgell 41e54351d4 Travis: added testing of FMUv1 build 2017-04-01 11:57:09 +11:00
Andrew Tridgell 6ea2a74c54 Travis: split build of v2/v4 into separate builds
we are sometimes going past max time limit with the v2/v4 build
2017-03-15 09:17:27 +11:00
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