blob: 9b729ec0712e5006d4f437e2658cc5dcc1c11976 [file] [log] [blame]
Paul Bakker3ad3aa32014-04-17 16:16:05 +02001language: c
Gilles Peskinec9cdd212020-04-21 22:13:43 +02002compiler: gcc
Manuel Pégourié-Gonnardc84d7fb2015-08-04 15:59:34 +02003sudo: false
Manuel Pégourié-Gonnard2c998002015-08-04 18:06:02 +02004cache: ccache
Simon Butcher3459c742018-11-22 10:14:03 +00005
Gilles Peskined0f543a2020-04-21 22:18:58 +02006jobs:
7 include:
Gilles Peskine10cb1602020-04-26 21:26:42 +02008 - name: basic checks and reference configurations
Gilles Peskineb49a4572020-04-23 23:45:55 +02009 addons:
10 apt:
11 packages:
Gilles Peskinea5ced5b2020-04-25 23:36:00 +020012 - gnutls-bin
Gilles Peskineb49a4572020-04-23 23:45:55 +020013 - doxygen
14 - graphviz
Gilles Peskinef2f39dd2020-04-25 22:30:31 +020015 - gcc-arm-none-eabi
16 - libnewlib-arm-none-eabi
Gilles Peskinea38f3682020-04-25 21:15:07 +020017 language: python # Needed to get pip for Python 3
18 python: 3.5 # version from Ubuntu 16.04
19 install:
Gilles Peskinef71ff1f2021-01-19 21:59:06 +010020 - pip install mypy==0.780 pylint==2.4.4
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 Peskine10cb1602020-04-26 21:26:42 +020024 - tests/scripts/test-ref-configs.pl
Gilles Peskine907211d2020-04-30 23:10:48 +020025 - tests/scripts/all.sh -k build_arm_none_eabi_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 Peskine129d0412020-04-25 22:42:41 +020031 - name: macOS
32 os: osx
33 compiler: clang
34 script:
35 - tests/scripts/all.sh -k test_default_out_of_box
36
Gilles Peskine04025102020-04-25 23:25:10 +020037 - name: Windows
38 os: windows
Gilles Peskineb97a0442020-04-26 14:09:09 +020039 before_install:
40 - choco install python --version=3.5.4
41 env:
42 # Add the directory where the Choco package goes
43 - PATH=/c/Python35:/c/Python35/Scripts:$PATH
Gilles Peskine04025102020-04-25 23:25:10 +020044 script:
Gilles Peskineb97a0442020-04-26 14:09:09 +020045 - type python; python --version
46 - python scripts/generate_psa_constants.py
47 # Logs appear out of sequence on Windows. Give time to catch up.
48 - sleep 5
Gilles Peskine23d249a2020-04-26 13:12:55 +020049 - scripts/windows_msbuild.bat v141 # Visual Studio 2017
Gilles Peskine04025102020-04-25 23:25:10 +020050
Janos Follath831a65f2016-03-21 09:22:58 +000051after_failure:
Simon Butcher6eaf3652016-04-10 15:11:27 +010052- tests/scripts/travis-log-failure.sh
Gilles Peskined0f543a2020-04-21 22:18:58 +020053
Paul Bakker05c37742014-05-02 16:19:04 +020054env:
55 global:
Manuel Pégourié-Gonnardc8530df2019-02-27 10:46:56 +010056 - SEED=1
Vikas Katariya0eb2d9d2019-09-10 17:22:52 +010057 - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
Paul Bakker05c37742014-05-02 16:19:04 +020058
59addons:
Gilles Peskinea5ced5b2020-04-25 23:36:00 +020060 apt:
61 packages:
62 - gnutls-bin
Paul Bakker05c37742014-05-02 16:19:04 +020063 coverity_scan:
64 project:
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020065 name: "ARMmbed/mbedtls"
Vikas Katariya2bcf51a2019-09-10 17:36:23 +010066 notification_email: support-mbedtls@arm.com
Paul Bakker05c37742014-05-02 16:19:04 +020067 build_command_prepend:
Paul Bakker05c37742014-05-02 16:19:04 +020068 build_command: make
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020069 branch_pattern: coverity_scan