2014-04-17 16:16:05 +02:00
|
|
|
language: c
|
2020-04-21 22:13:43 +02:00
|
|
|
compiler: gcc
|
2015-08-04 15:59:34 +02:00
|
|
|
sudo: false
|
2015-08-04 18:06:02 +02:00
|
|
|
cache: ccache
|
2018-11-22 11:14:03 +01:00
|
|
|
|
2020-04-21 22:18:58 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-04-26 21:26:42 +02:00
|
|
|
- name: basic checks and reference configurations
|
2020-04-23 23:45:55 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-04-25 23:36:00 +02:00
|
|
|
- gnutls-bin
|
2020-04-23 23:45:55 +02:00
|
|
|
- doxygen
|
|
|
|
- graphviz
|
2020-04-25 22:30:31 +02:00
|
|
|
- gcc-arm-none-eabi
|
|
|
|
- libnewlib-arm-none-eabi
|
2020-04-25 21:15:07 +02:00
|
|
|
language: python # Needed to get pip for Python 3
|
|
|
|
python: 3.5 # version from Ubuntu 16.04
|
|
|
|
install:
|
|
|
|
- pip install pylint==2.4.4
|
2020-04-21 22:18:58 +02:00
|
|
|
script:
|
2020-04-21 22:23:35 +02:00
|
|
|
- tests/scripts/all.sh -k 'check_*'
|
2020-04-25 21:31:04 +02:00
|
|
|
- tests/scripts/all.sh -k test_default_out_of_box
|
2020-04-26 21:26:42 +02:00
|
|
|
- tests/scripts/test-ref-configs.pl
|
2020-04-30 23:10:48 +02:00
|
|
|
- tests/scripts/all.sh -k build_arm_none_eabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
|
2020-04-21 22:18:58 +02:00
|
|
|
|
2020-04-25 21:31:04 +02:00
|
|
|
- name: full configuration
|
2020-04-21 22:18:58 +02:00
|
|
|
script:
|
2020-04-25 21:31:04 +02:00
|
|
|
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
|
2020-04-21 22:18:58 +02:00
|
|
|
|
2020-04-26 21:26:42 +02:00
|
|
|
- name: check compilation guards
|
2020-04-21 22:18:58 +02:00
|
|
|
script:
|
2020-04-25 21:46:42 +02:00
|
|
|
- tests/scripts/all.sh -k 'test_depends_*' 'build_key_exchanges'
|
2020-04-21 22:18:58 +02:00
|
|
|
|
2020-04-25 22:42:41 +02:00
|
|
|
- name: macOS
|
|
|
|
os: osx
|
|
|
|
compiler: clang
|
|
|
|
script:
|
|
|
|
- tests/scripts/all.sh -k test_default_out_of_box
|
|
|
|
|
2020-04-25 23:25:10 +02:00
|
|
|
- name: Windows
|
|
|
|
os: windows
|
2020-04-26 14:09:09 +02:00
|
|
|
before_install:
|
|
|
|
- choco install python --version=3.5.4
|
|
|
|
env:
|
|
|
|
# Add the directory where the Choco package goes
|
|
|
|
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
|
2020-04-25 23:25:10 +02:00
|
|
|
script:
|
2020-04-26 14:09:09 +02:00
|
|
|
- type python; python --version
|
|
|
|
- python scripts/generate_psa_constants.py
|
|
|
|
# Logs appear out of sequence on Windows. Give time to catch up.
|
|
|
|
- sleep 5
|
2020-04-26 13:12:55 +02:00
|
|
|
- scripts/windows_msbuild.bat v141 # Visual Studio 2017
|
2020-04-25 23:25:10 +02:00
|
|
|
|
2016-03-21 10:22:58 +01:00
|
|
|
after_failure:
|
2016-04-10 16:11:27 +02:00
|
|
|
- tests/scripts/travis-log-failure.sh
|
2020-04-21 22:18:58 +02:00
|
|
|
|
2014-05-02 16:19:04 +02:00
|
|
|
env:
|
|
|
|
global:
|
2019-02-27 10:46:56 +01:00
|
|
|
- SEED=1
|
2019-09-10 18:22:52 +02:00
|
|
|
- secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
|
2014-05-02 16:19:04 +02:00
|
|
|
|
|
|
|
addons:
|
2020-04-25 23:36:00 +02:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gnutls-bin
|
2014-05-02 16:19:04 +02:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
2015-04-14 14:59:47 +02:00
|
|
|
name: "ARMmbed/mbedtls"
|
2019-09-10 18:36:23 +02:00
|
|
|
notification_email: support-mbedtls@arm.com
|
2014-05-02 16:19:04 +02:00
|
|
|
build_command_prepend:
|
|
|
|
build_command: make
|
2015-04-14 14:59:47 +02:00
|
|
|
branch_pattern: coverity_scan
|