blob: 057875abc65598feb10fa3caec1fcf5784ae2bba [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:
8 - name: basic checks
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 Peskine1c2c1bd2020-04-25 22:30:31 +020024 - tests/scripts/all.sh -k build_arm_none_eabi_gcc_arm5vte
Gilles Peskine7c4912d2020-04-21 22:18:58 +020025
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020026 - name: full configuration
Gilles Peskine7c4912d2020-04-21 22:18:58 +020027 script:
Gilles Peskine9a0e0f22020-04-25 21:31:04 +020028 - tests/scripts/all.sh -k test_full_cmake_gcc_asan
Gilles Peskine7c4912d2020-04-21 22:18:58 +020029
30 - name: enumerated configurations
31 script:
32 - tests/scripts/test-ref-configs.pl
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 Peskine317e7a12020-04-25 22:42:41 +020035 - name: macOS
36 os: osx
37 compiler: clang
38 script:
39 - tests/scripts/all.sh -k test_default_out_of_box
40
Gilles Peskinee3358162020-04-25 23:25:10 +020041 - name: Windows
42 os: windows
43 script:
44 - scripts/windows_msbuild.bat
45
Janos Follath831a65f2016-03-21 09:22:58 +000046after_failure:
Simon Butcher6eaf3652016-04-10 15:11:27 +010047- tests/scripts/travis-log-failure.sh
Gilles Peskine7c4912d2020-04-21 22:18:58 +020048
Paul Bakker05c37742014-05-02 16:19:04 +020049env:
50 global:
Manuel Pégourié-Gonnardab9bf632019-02-27 10:46:56 +010051 - SEED=1
Vikas Katariya93073752019-09-10 17:22:52 +010052 - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
Paul Bakker05c37742014-05-02 16:19:04 +020053
54addons:
Gilles Peskine4b29e7d2020-04-25 23:36:00 +020055 apt:
56 packages:
57 - gnutls-bin
Paul Bakker05c37742014-05-02 16:19:04 +020058 coverity_scan:
59 project:
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020060 name: "ARMmbed/mbedtls"
Vikas Katariyac91c3812019-09-10 17:36:23 +010061 notification_email: support-mbedtls@arm.com
Paul Bakker05c37742014-05-02 16:19:04 +020062 build_command_prepend:
Paul Bakker05c37742014-05-02 16:19:04 +020063 build_command: make
Paul Bakkerdb34e6d2015-04-14 14:59:47 +020064 branch_pattern: coverity_scan