Commit Graph

102 Commits

Author SHA1 Message Date
Pierre Kancir c2a7e3be58 .github: migrate all chibios build to Github Actions 2020-11-24 22:13:07 +11:00
Pierre Kancir 52f85e70a8 .github: add test for replay 2020-11-24 20:46:37 +11:00
Andrew Tridgell 18e3c478f3 travis: added replay to travis build tests 2020-11-10 16:15:45 +11:00
Pierre Kancir d31d57484a travis: remove autotest and reorder compilation tests 2020-10-24 08:29:10 +11:00
Pierre Kancir 0b247a6e1a Travis: remove useless packages 2020-09-22 10:05:19 +10:00
Peter Barker 45b42e290c travis: name the test jobs 2020-09-15 09:18:04 +10:00
Peter Barker e261a612b1 autotest: move navigator and unit-tests as out-of-time on embedded/sitl job 2020-09-10 10:33:25 +10:00
Peter Barker 666314216d travis: move forward from xenial to focal
Big change here is moving from Python2 to Python3
2020-09-09 08:45:57 +10:00
Peter Barker e81b6e1f17 travis: shift tests around to avoid 50m limit on travis
Recent additions to copter-tests2 mean we're running out of time there
2020-09-07 12:57:51 +10:00
Patrick José Pereira bfc35db8ff travis: Remove global compiler variable
The global variable is not necessary since
the variable is defined in the matrix.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira 670e7272e2 travis: Add navigator target
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Peter Barker 7bd32338ef travis: run tradheli tests 2020-05-29 19:12:20 +10:00
Peter Barker 194998d631 travis: restore fly.ArduCopter as running all tests 2020-02-22 16:51:39 +11:00
Andy Piper 05a0fe615b Tools: split Copter tests into two runs to balance time on travis 2020-02-22 11:15:37 +11:00
Peter Barker f8f7d42182 travis: run sitltest-tracker 2020-02-19 13:13:45 +11:00
Michael du Breuil 29d31accf2 Travis: Combine jobs, flake8 has been moved to semaphore 2020-01-15 12:45:44 +11:00
Michael du Breuil 1a2dba1ee1 Travis: Remove unused gcc 4.9 dep 2019-12-20 11:03:31 +11:00
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