blob: 0e85185b2c8a16bed9899fc29c4091c69803ad5e [file] [log] [blame]
Paul Bakker3ad3aa32014-04-17 16:16:05 +02001language: c
Gilles Peskinef2cf40b2020-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 Peskine7c4912d2020-04-21 22:18:58 +02006jobs:
7 include:
Gilles Peskineeb59af12020-04-26 21:26:42 +02008 - name: basic checks and reference configurations
Gilles Peskine034ee2b2020-04-23 23:45:55 +02009 addons:
10 apt:
11 packages:
Gilles Peskine4b29e7d2020-04-25 23:36:00 +020012 - gnutls-bin
Gilles Peskine034ee2b2020-04-23 23:45:55 +020013 - doxygen
14 - graphviz
Gilles Peskine1c2c1bd2020-04-25 22:30:31 +020015 - gcc-arm-none-eabi
16 - libnewlib-arm-none-eabi
Manuel Pégourié-Gonnard3d04f632020-08-18 10:31:36 +020017 - gcc-arm-linux-gnueabi
Manuel Pégourié-Gonnard0a1a9e72021-07-06 09:44:59 +020018 - libc6-dev-armel-cross
Gilles Peskine9d0cee02020-04-25 21:15:07 +020019 language: python # Needed to get pip for Python 3
20 python: 3.5 # version from Ubuntu 16.04
21 install:
22 - pip install pylint==2.4.4
Gilles Peskine7c4912d2020-04-21 22:18:58 +020023 script:
Gilles Peskineec4c9562020-04-21 22:23:35 +020024 - tests/scripts/all.sh -k 'check_*'
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020025 - tests/scripts/all.sh -k test_default_out_of_box
Manuel Pégourié-Gonnard3d04f632020-08-18 10:31:36 +020026 - tests/scripts/all.sh -k test_ref_configs
27 - tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
Gilles Peskine7c4912d2020-04-21 22:18:58 +020028
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020029 - name: full configuration
Gilles Peskine7c4912d2020-04-21 22:18:58 +020030 script:
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020031 - tests/scripts/all.sh -k test_full_cmake_gcc_asan
Gilles Peskine7c4912d2020-04-21 22:18:58 +020032
Gilles Peskineeb59af12020-04-26 21:26:42 +020033 - name: check compilation guards
Gilles Peskine7c4912d2020-04-21 22:18:58 +020034 script:
Gilles Peskine025747b2020-04-25 21:46:42 +020035 - tests/scripts/all.sh -k 'test_depends_*' 'build_key_exchanges'
Gilles Peskine7c4912d2020-04-21 22:18:58 +020036
Gilles Peskinee3358162020-04-25 23:25:10 +020037 - name: Windows
38 os: windows
39 script:
Gilles Peskine2ccdf892020-04-26 13:12:55 +020040 - scripts/windows_msbuild.bat v141 # Visual Studio 2017
Gilles Peskinee3358162020-04-25 23:25:10 +020041
Janos Follath831a65f2016-03-21 09:22:58 +000042after_failure:
Simon Butcher6eaf3652016-04-10 15:11:27 +010043- tests/scripts/travis-log-failure.sh
Gilles Peskine7c4912d2020-04-21 22:18:58 +020044
Paul Bakker05c37742014-05-02 16:19:04 +020045env:
46 global:
Manuel Pégourié-Gonnardab9bf632019-02-27 10:46:56 +010047 - SEED=1
Vikas Katariya93073752019-09-10 17:22:52 +010048 - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
Paul Bakker05c37742014-05-02 16:19:04 +020049
50addons:
Gilles Peskine4b29e7d2020-04-25 23:36:00 +020051 apt:
52 packages:
53 - gnutls-bin
Paul Bakker05c37742014-05-02 16:19:04 +020054 coverity_scan:
55 project:
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020056 name: "ARMmbed/mbedtls"
Vikas Katariyac91c3812019-09-10 17:36:23 +010057 notification_email: support-mbedtls@arm.com
Paul Bakker05c37742014-05-02 16:19:04 +020058 build_command_prepend:
Paul Bakker05c37742014-05-02 16:19:04 +020059 build_command: make
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020060 branch_pattern: coverity_scan