blob: 9ba98ab8b9e7cb122d1d19c4e9b89ee51cc44c38 [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
Gilles Peskine9d0cee02020-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:
20 - pip install pylint==2.4.4
Gilles Peskine7c4912d2020-04-21 22:18:58 +020021 script:
Gilles Peskineec4c9562020-04-21 22:23:35 +020022 - tests/scripts/all.sh -k 'check_*'
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020023 - tests/scripts/all.sh -k test_default_out_of_box
Gilles Peskineeb59af12020-04-26 21:26:42 +020024 - tests/scripts/test-ref-configs.pl
Gilles Peskine43e068c2020-04-30 23:10:48 +020025 - tests/scripts/all.sh -k build_arm_none_eabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
Gilles Peskine7c4912d2020-04-21 22:18:58 +020026
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020027 - name: full configuration
Gilles Peskine7c4912d2020-04-21 22:18:58 +020028 script:
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020029 - tests/scripts/all.sh -k test_full_cmake_gcc_asan
Gilles Peskine7c4912d2020-04-21 22:18:58 +020030
Gilles Peskineeb59af12020-04-26 21:26:42 +020031 - name: check compilation guards
Gilles Peskine7c4912d2020-04-21 22:18:58 +020032 script:
Gilles Peskine025747b2020-04-25 21:46:42 +020033 - tests/scripts/all.sh -k 'test_depends_*' 'build_key_exchanges'
Gilles Peskine7c4912d2020-04-21 22:18:58 +020034
Gilles Peskinee3358162020-04-25 23:25:10 +020035 - name: Windows
36 os: windows
37 script:
Gilles Peskine2ccdf892020-04-26 13:12:55 +020038 - scripts/windows_msbuild.bat v141 # Visual Studio 2017
Gilles Peskinee3358162020-04-25 23:25:10 +020039
Janos Follath831a65f2016-03-21 09:22:58 +000040after_failure:
Simon Butcher6eaf3652016-04-10 15:11:27 +010041- tests/scripts/travis-log-failure.sh
Gilles Peskine7c4912d2020-04-21 22:18:58 +020042
Paul Bakker05c37742014-05-02 16:19:04 +020043env:
44 global:
Manuel Pégourié-Gonnardab9bf632019-02-27 10:46:56 +010045 - SEED=1
Vikas Katariya93073752019-09-10 17:22:52 +010046 - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
Paul Bakker05c37742014-05-02 16:19:04 +020047
48addons:
Gilles Peskine4b29e7d2020-04-25 23:36:00 +020049 apt:
50 packages:
51 - gnutls-bin
Paul Bakker05c37742014-05-02 16:19:04 +020052 coverity_scan:
53 project:
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020054 name: "ARMmbed/mbedtls"
Vikas Katariyac91c3812019-09-10 17:36:23 +010055 notification_email: support-mbedtls@arm.com
Paul Bakker05c37742014-05-02 16:19:04 +020056 build_command_prepend:
Paul Bakker05c37742014-05-02 16:19:04 +020057 build_command: make
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020058 branch_pattern: coverity_scan