blob: 08d7dfb70309da3f82e69ec353eee15b118034a1 [file] [log] [blame]
Gilles Peskined80cf542021-11-17 21:13:01 +01001# Declare python as our language. This way we get our chosen Python version,
2# and pip is available. Gcc and clang are available anyway.
3language: python
4python: 3.5
Manuel Pégourié-Gonnardc84d7fb2015-08-04 15:59:34 +02005sudo: false
Manuel Pégourié-Gonnard2c998002015-08-04 18:06:02 +02006cache: ccache
Simon Butcher3459c742018-11-22 10:14:03 +00007
Gilles Peskined0f543a2020-04-21 22:18:58 +02008jobs:
9 include:
Gilles Peskine10cb1602020-04-26 21:26:42 +020010 - name: basic checks and reference configurations
Gilles Peskineb49a4572020-04-23 23:45:55 +020011 addons:
12 apt:
13 packages:
Gilles Peskinea5ced5b2020-04-25 23:36:00 +020014 - gnutls-bin
Gilles Peskineb49a4572020-04-23 23:45:55 +020015 - doxygen
16 - graphviz
Gilles Peskinef2f39dd2020-04-25 22:30:31 +020017 - gcc-arm-none-eabi
18 - libnewlib-arm-none-eabi
Manuel Pégourié-Gonnardefd14bf2020-08-18 10:31:36 +020019 - gcc-arm-linux-gnueabi
Manuel Pégourié-Gonnardae505ee2021-07-06 09:44:59 +020020 - libc6-dev-armel-cross
Gilles Peskined0f543a2020-04-21 22:18:58 +020021 script:
Gilles Peskine3c7ffd72020-04-21 22:23:35 +020022 - tests/scripts/all.sh -k 'check_*'
Gilles Peskinea2d3ec22020-04-25 21:31:04 +020023 - tests/scripts/all.sh -k test_default_out_of_box
Gilles Peskinede7f1e02021-04-22 11:55:48 +020024 - tests/scripts/all.sh -k test_ref_configs
Manuel Pégourié-Gonnardefd14bf2020-08-18 10:31:36 +020025 - tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
Gilles Peskined0f543a2020-04-21 22:18:58 +020026
Gilles Peskinea2d3ec22020-04-25 21:31:04 +020027 - name: full configuration
Gilles Peskined0f543a2020-04-21 22:18:58 +020028 script:
Gilles Peskinea2d3ec22020-04-25 21:31:04 +020029 - tests/scripts/all.sh -k test_full_cmake_gcc_asan
Gilles Peskined0f543a2020-04-21 22:18:58 +020030
Gilles Peskine04025102020-04-25 23:25:10 +020031 - name: Windows
32 os: windows
Gilles Peskined80cf542021-11-17 21:13:01 +010033 # The language 'python' is currently unsupported on the
34 # Windows Build Environment. And 'generic' causes the job to get stuck
35 # on "Booting virtual machine".
36 language: c
Gilles Peskineb97a0442020-04-26 14:09:09 +020037 before_install:
38 - choco install python --version=3.5.4
39 env:
Gilles Peskinede7f1e02021-04-22 11:55:48 +020040 # Add the directory where the Choco packages go
Gilles Peskineb97a0442020-04-26 14:09:09 +020041 - PATH=/c/Python35:/c/Python35/Scripts:$PATH
Gilles Peskine04025102020-04-25 23:25:10 +020042 script:
Gilles Peskinede7f1e02021-04-22 11:55:48 +020043 - type perl; perl --version
Gilles Peskineb97a0442020-04-26 14:09:09 +020044 - type python; python --version
Gilles Peskinede7f1e02021-04-22 11:55:48 +020045 - scripts/make_generated_files.bat
Gilles Peskineb97a0442020-04-26 14:09:09 +020046 # Logs appear out of sequence on Windows. Give time to catch up.
47 - sleep 5
Gilles Peskine23d249a2020-04-26 13:12:55 +020048 - scripts/windows_msbuild.bat v141 # Visual Studio 2017
Gilles Peskine04025102020-04-25 23:25:10 +020049
Janos Follath831a65f2016-03-21 09:22:58 +000050after_failure:
Simon Butcher6eaf3652016-04-10 15:11:27 +010051- tests/scripts/travis-log-failure.sh
Gilles Peskined0f543a2020-04-21 22:18:58 +020052
Paul Bakker05c37742014-05-02 16:19:04 +020053env:
54 global:
Manuel Pégourié-Gonnardc8530df2019-02-27 10:46:56 +010055 - SEED=1
Vikas Katariya0eb2d9d2019-09-10 17:22:52 +010056 - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
Paul Bakker05c37742014-05-02 16:19:04 +020057
Gilles Peskined9d5c782021-11-17 19:29:38 +010058install:
59 - scripts/min_requirements.py
60
Paul Bakker05c37742014-05-02 16:19:04 +020061addons:
Gilles Peskinea5ced5b2020-04-25 23:36:00 +020062 apt:
63 packages:
64 - gnutls-bin
Paul Bakker05c37742014-05-02 16:19:04 +020065 coverity_scan:
66 project:
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020067 name: "ARMmbed/mbedtls"
Vikas Katariya2bcf51a2019-09-10 17:36:23 +010068 notification_email: support-mbedtls@arm.com
Paul Bakker05c37742014-05-02 16:19:04 +020069 build_command_prepend:
Paul Bakker05c37742014-05-02 16:19:04 +020070 build_command: make
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020071 branch_pattern: coverity_scan