2021-11-17 20:13:01 +00:00
|
|
|
# Declare python as our language. This way we get our chosen Python version,
|
|
|
|
# and pip is available. Gcc and clang are available anyway.
|
|
|
|
language: python
|
|
|
|
python: 3.5
|
2015-08-04 13:59:34 +00:00
|
|
|
sudo: false
|
2015-08-04 16:06:02 +00:00
|
|
|
cache: ccache
|
2018-11-22 10:14:03 +00:00
|
|
|
|
2020-04-21 20:18:58 +00:00
|
|
|
jobs:
|
|
|
|
include:
|
2020-04-26 19:26:42 +00:00
|
|
|
- name: basic checks and reference configurations
|
2020-04-23 21:45:55 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2020-04-25 21:36:00 +00:00
|
|
|
- gnutls-bin
|
2020-04-23 21:45:55 +00:00
|
|
|
- doxygen
|
|
|
|
- graphviz
|
2020-04-25 20:30:31 +00:00
|
|
|
- gcc-arm-none-eabi
|
|
|
|
- libnewlib-arm-none-eabi
|
2020-08-18 08:31:36 +00:00
|
|
|
- gcc-arm-linux-gnueabi
|
2021-07-06 07:44:59 +00:00
|
|
|
- libc6-dev-armel-cross
|
2020-04-21 20:18:58 +00:00
|
|
|
script:
|
2020-04-21 20:23:35 +00:00
|
|
|
- tests/scripts/all.sh -k 'check_*'
|
2020-04-25 19:31:04 +00:00
|
|
|
- tests/scripts/all.sh -k test_default_out_of_box
|
2021-04-22 09:55:48 +00:00
|
|
|
- tests/scripts/all.sh -k test_ref_configs
|
2020-08-18 08:31:36 +00:00
|
|
|
- tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
|
2020-04-21 20:18:58 +00:00
|
|
|
|
2020-04-25 19:31:04 +00:00
|
|
|
- name: full configuration
|
2020-04-21 20:18:58 +00:00
|
|
|
script:
|
2020-04-25 19:31:04 +00:00
|
|
|
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
|
2020-04-21 20:18:58 +00:00
|
|
|
|
2020-04-25 21:25:10 +00:00
|
|
|
- name: Windows
|
|
|
|
os: windows
|
2021-11-17 20:13:01 +00:00
|
|
|
# The language 'python' is currently unsupported on the
|
|
|
|
# Windows Build Environment. And 'generic' causes the job to get stuck
|
|
|
|
# on "Booting virtual machine".
|
|
|
|
language: c
|
2020-04-26 12:09:09 +00:00
|
|
|
before_install:
|
|
|
|
- choco install python --version=3.5.4
|
|
|
|
env:
|
2021-04-22 09:55:48 +00:00
|
|
|
# Add the directory where the Choco packages go
|
2020-04-26 12:09:09 +00:00
|
|
|
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
|
2020-04-25 21:25:10 +00:00
|
|
|
script:
|
2021-04-22 09:55:48 +00:00
|
|
|
- type perl; perl --version
|
2020-04-26 12:09:09 +00:00
|
|
|
- type python; python --version
|
2021-04-22 09:55:48 +00:00
|
|
|
- scripts/make_generated_files.bat
|
2020-04-26 12:09:09 +00:00
|
|
|
# Logs appear out of sequence on Windows. Give time to catch up.
|
|
|
|
- sleep 5
|
2020-04-26 11:12:55 +00:00
|
|
|
- scripts/windows_msbuild.bat v141 # Visual Studio 2017
|
2020-04-25 21:25:10 +00:00
|
|
|
|
2016-03-21 09:22:58 +00:00
|
|
|
after_failure:
|
2016-04-10 14:11:27 +00:00
|
|
|
- tests/scripts/travis-log-failure.sh
|
2020-04-21 20:18:58 +00:00
|
|
|
|
2014-05-02 14:19:04 +00:00
|
|
|
env:
|
|
|
|
global:
|
2019-02-27 09:46:56 +00:00
|
|
|
- SEED=1
|
2019-09-10 16:22:52 +00:00
|
|
|
- secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
|
2014-05-02 14:19:04 +00:00
|
|
|
|
2021-11-17 18:29:38 +00:00
|
|
|
install:
|
|
|
|
- scripts/min_requirements.py
|
|
|
|
|
2014-05-02 14:19:04 +00:00
|
|
|
addons:
|
2020-04-25 21:36:00 +00:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gnutls-bin
|
2014-05-02 14:19:04 +00:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
2015-04-14 12:59:47 +00:00
|
|
|
name: "ARMmbed/mbedtls"
|
2019-09-10 16:36:23 +00:00
|
|
|
notification_email: support-mbedtls@arm.com
|
2014-05-02 14:19:04 +00:00
|
|
|
build_command_prepend:
|
|
|
|
build_command: make
|
2015-04-14 12:59:47 +00:00
|
|
|
branch_pattern: coverity_scan
|