1language: c
2compiler: gcc
3sudo: false
4cache: ccache
5
6jobs:
7  include:
8    - name: basic checks and reference configurations
9      addons:
10        apt:
11          packages:
12          - gnutls-bin
13          - doxygen
14          - graphviz
15          - gcc-arm-none-eabi
16          - libnewlib-arm-none-eabi
17          - gcc-arm-linux-gnueabi
18          - libc6-dev-armel-cross
19      language: python # Needed to get pip for Python 3
20      python: 3.5 # version from Ubuntu 16.04
21      install:
22        - pip install mypy==0.780 pylint==2.4.4
23      script:
24        - tests/scripts/all.sh -k 'check_*'
25        - tests/scripts/all.sh -k test_default_out_of_box
26        - 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
28
29    - name: full configuration
30      script:
31        - tests/scripts/all.sh -k test_full_cmake_gcc_asan
32
33    - name: Windows
34      os: windows
35      before_install:
36        - choco install python --version=3.5.4
37      env:
38        # Add the directory where the Choco packages go
39        - PATH=/c/Python35:/c/Python35/Scripts:$PATH
40      script:
41        - type perl; perl --version
42        - type python; python --version
43        - scripts/make_generated_files.bat
44        # Logs appear out of sequence on Windows. Give time to catch up.
45        - sleep 5
46        - scripts/windows_msbuild.bat v141 # Visual Studio 2017
47
48after_failure:
49- tests/scripts/travis-log-failure.sh
50
51env:
52  global:
53    - SEED=1
54    - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
55
56addons:
57  apt:
58    packages:
59    - gnutls-bin
60  coverity_scan:
61    project:
62      name: "ARMmbed/mbedtls"
63    notification_email: support-mbedtls@arm.com
64    build_command_prepend:
65    build_command: make
66    branch_pattern: coverity_scan
67