stijn
2d800c77a0
travis: Add OSX build to CI.
...
Add a standard unix port build in an OSX environment using clang. Should
help in catching build failures due to platform differences early on.
2020-02-21 14:20:52 +11:00
Damien George
baf11f237b
unix/Makefile: Remove old variant targets that are no longer needed.
...
To eliminate confusion about what targets to use when building.
2020-02-16 00:15:57 +11:00
Jim Mussared
3032ae1155
esp32: Enable NimBLE support on all builds (IDF 3.3 and 4.0).
...
This commit updates the IDFv3 version to v3.3.1, and enables the
"ubluetooth" module by default on IDFv3 builds.
2020-01-15 00:24:43 +11:00
Jim Mussared
977b532c8f
unix: Rename unix binaries to micropython-variant (not _variant).
...
For consistency with mpy-cross, and other unix tools in general.
2020-01-12 10:37:40 +11:00
Jim Mussared
7319d546b7
travis: Update travis to specify which unix variant to build.
2020-01-12 10:37:33 +11:00
Damien George
e83ab7374b
travis: Add stm32 build in nanbox mode.
2019-12-27 22:54:53 +11:00
Damien George
11b4524b39
travis: Add new job to build and test unix coverage in 32-bit mode.
2019-12-27 12:30:51 +11:00
Damien George
4da763fc49
travis: Build urandom native module in coverage job.
2019-12-13 13:33:45 +11:00
Damien George
ac769672fd
travis: Add tests for building and importing dynamic native modules.
2019-12-12 20:15:28 +11:00
Damien George
162016ad9c
travis: Add job to build and test unix minimal port.
...
To test that unix minimal port builds, and that test-suite can run with
minimal features enabled.
2019-10-29 22:23:00 +11:00
Michael Neuling
079cc940a6
powerpc: Add initial port to bare metal PowerPC arch.
...
Runs in microwatt (GHDL and FPGA) and qemu.
Port done initially by Michael Neuling, with help from Anton Blanchard and
Jordan Niethe.
2019-10-22 22:45:33 +11:00
Damien George
f562f94e1c
travis: Use "make submodules" to init required modules for each port.
2019-10-15 17:14:41 +11:00
Mike Causer
3117fde407
travis: Add esp8266 GENERIC_512K build to CI.
2019-10-10 16:32:25 +11:00
Jim Mussared
fa23033fc4
travis: Add BLE submodules to ESP32 IDF4 build.
2019-10-08 14:52:31 +11:00
Damien George
deef6f3718
travis: Build unix nanbox with PYTHON=python2.
...
To test build support with Python 2.7.
2019-10-05 23:11:47 +10:00
Jim Mussared
d72dbb822c
stm32: Provide port-specific implementation for Nimble on STM32.
2019-10-01 09:51:02 +10:00
Damien George
6647d03e42
travis: Build more stm32 boards to cover all supported MCUs.
2019-09-26 16:43:34 +10:00
Jim Mussared
b1505541da
travis: Add ESP32 build with IDF v4.
2019-09-17 12:26:35 +10:00
Damien George
0b85b5b8b3
travis: Add new job to test unix port with sys.settrace enabled.
2019-08-30 16:49:13 +10:00
Damien George
8f55a8fab6
travis: Build an stm32 board with threading enabled to test it with CI.
2019-07-26 12:44:47 +10:00
Damien George
a67d9155e6
travis: Switch unix stackless build to use clang.
...
To test a different compiler, other than gcc.
2019-07-17 15:52:27 +10:00
Damien George
14f61a224d
travis: Build stm32 mboot for PYBD_SF6 as part of CI.
2019-07-09 11:47:57 +10:00
Damien George
9ca4789130
travis: Add samd port to Travis build.
2019-07-01 17:19:18 +10:00
Damien George
9cebead276
travis: Enable performance benchmark tests on standard unix build.
2019-06-28 16:30:01 +10:00
Damien George
e06dcad5d3
travis: Build esp32 firmware as part of Travis CI.
...
Toolchain installation and build takes about 3 minutes.
2019-06-25 14:55:10 +10:00
Damien George
cc12f750b4
travis: Build esp8266 firmware as part of Travis CI.
...
Toolchain installation and build takes about 1 minute.
2019-06-25 14:55:10 +10:00
Damien George
c60e0a09f0
travis: Selectively fetch git submodules only when needed.
...
This saves time when building on Travis CI: unconditionally fetching all
submodules takes about 40 seconds, but not all are needed for any given
port, so only fetch as necessary.
2019-06-25 14:55:10 +10:00
Damien George
84f1067f7f
travis: Build PYBD_SF2 board as part of the stm32 job.
2019-05-31 22:47:55 +10:00
Damien George
2bcb240b55
travis: Enable test for running native code via mpy.
2019-03-08 16:51:09 +11:00
Damien George
775c7b86f0
travis: Update to use Ubuntu 16.04 Xenial for CI builds.
2019-02-12 13:29:22 +11:00
Damien George
b7004efe36
travis: Add nrf port to Travis CI build.
2018-07-20 14:11:28 +10:00
Damien George
3ffcef8bdf
travis: Use build stages and parallel jobs under Travis CI.
...
This change brings the following benefits:
- all existing tests and test behaviour is be retained
- can now use Travis parallel build mechanism
- total time for tests is about 5 mins 30 secs, down from around 10 mins
- two additional test suites are now run: standard (non coverage) unix
build and nanbox unix build
- much easier to see what is failing: if you click through to the Travis CI
details each parallel build job is displayed with pass/fail
- scales much better when adding new test targets
2018-07-19 10:04:57 +10:00
Damien George
b789c640f7
travis: Install explicit version of urllib3 for coveralls.
...
Coveralls requires a "recent" version of urllib3, whereas requests requires
a "not so recent" version, less than 1.23. So force urllib3 v1.22 to get
it all working.
2018-06-06 20:56:24 +10:00
Damien George
5e1279d41a
travis: Pass -j4 to make to speed up compilation.
...
This seems to reduce the Travis build time by roughly 1 minute / 10%.
2018-03-19 11:57:38 +11:00
Damien George
0b12cc8feb
.travis.yml,ports/unix/Makefile: Add coverage test for script via stdin.
2018-02-08 11:30:19 +11:00
Paul Sokolovsky
5455bf79c5
.travis.yml: Build and test strict stackless build.
...
Previously, testing of stackless build happened (manually) in
travis-stackless branch. However, stackless offers important
featureset, so it's worth to test it as a part of the main
CI. Strict stackless is used because it's the "real" stackless
build, which avoids using C stack as much as possible (non-strict
just prefers heap over C stack, but may end up using the latter).
2017-12-16 20:43:30 +02:00
Paul Sokolovsky
8462f167dc
.travis.yml: Update for qemu-arm's testing moved to Makefile.test.
2017-12-13 09:07:51 +02:00
Damien George
06f2fdbe61
travis: Update build command now that stm32 Wiznet config has changed.
2017-10-16 15:51:32 +11:00
Damien George
de981040b3
travis: Use --upgrade when pip is installing cpp-coveralls.
...
So that the latest urllib3 is retrieved, which has improved SSL security.
This fixes the temporary path from f578947ae3
2017-09-10 22:57:33 +10:00
Damien George
4a93801c12
all: Update Makefiles and others to build with new ports/ dir layout.
...
Also renames "stmhal" to "stm32" in documentation and everywhere else.
2017-09-06 14:09:13 +10:00
Paul Sokolovsky
f578947ae3
.travis.yml: Pin cpp-coveralls at 0.3.12.
...
Next version, 0.4.0 appears to depend on newer version of urllib3 and
conflicts with version installed in Travis.
2017-07-28 17:37:45 +03:00
Damien George
4d47e6c0db
travis: Build STM32F769DISC board instead of F7DISC to test dbl-prec FP.
2017-06-28 15:12:05 +10:00
Damien George
7b7ff60f91
travis: Change an stmhal rule to build PYBV11 instead of default PYBV10.
...
This allows to test the PYBV11 target as well as the network drivers
without adding another rule. It also removes the need to use -B,
side-stepping the issue of whether or not -B works with qstr auto
generation.
2017-03-15 22:20:30 +11:00
Damien George
4d1ba482f5
travis: Unconditionally run coveralls analysis, even if others failed.
...
If, for example, the code-size check failed we would still like to run the
coveralls coverage analysis.
2017-01-20 13:12:23 +11:00
Damien George
97f3797b82
travis: Include persistent bytecode with floats in coverage tests.
2016-12-22 11:27:35 +11:00
Damien George
0db3a41f02
travis: Build STM32 F7 and L4 boards under Travis CI.
...
The STM32 F7 and L4 boards use significantly different code to the F4
boards so it's important to test them with CI. To keep CI build times
within a reasonable limit the STM32F4DISC board is no longer built, it's
anyway very similar to the standard F4 build for PYBv1.0.
2016-12-05 11:25:37 +11:00
Paul Sokolovsky
d5cf8c5753
.travis.yml: minimal: Use CROSS=1, for binary size check.
...
x86 has bloated alignements, etc. Use ARM binary to catch any code size
increases promptly.
2016-10-25 11:43:56 +03:00
Paul Sokolovsky
ca008bfd2d
.travis.yml: Integrate tools/check_code_size.sh.
2016-10-25 11:43:55 +03:00
Damien George
cc7c311b5e
travis: Run feature and coverage test for precompiled mpy files.
2016-09-20 12:21:53 +10:00
stijn
dd0e6ddfeb
travis: Abandon mingw32 in favour of mingw-w64
...
This is actually long overdue: the README in the windows directory has been
updated once to indicate mingw32 is abandoned and not ok to use with uPy,
but we forgot travis builds were still using it.
As a bonus the travis build will succeed again since moduerrno.c now compiles.
(see https://github.com/micropython/micropython/pull/2399 )
2016-09-10 10:15:30 +10:00