• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Declare python as our language. This way we get our chosen Python version,
2# and pip is available. Gcc and clang are available anyway.
3language: python
4python: 3.5
5sudo: false
6cache: ccache
7
8jobs:
9  include:
10    - name: basic checks and reference configurations
11      addons:
12        apt:
13          packages:
14          - gnutls-bin
15          - doxygen
16          - graphviz
17          - gcc-arm-none-eabi
18          - libnewlib-arm-none-eabi
19          - gcc-arm-linux-gnueabi
20          - libc6-dev-armel-cross
21      script:
22        - tests/scripts/all.sh -k 'check_*'
23        - tests/scripts/all.sh -k test_default_out_of_box
24        - tests/scripts/all.sh -k test_ref_configs
25        - tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
26
27    - name: full configuration
28      script:
29        - tests/scripts/all.sh -k test_full_cmake_gcc_asan
30
31    - name: Windows
32      os: windows
33      # The language 'python' is currently unsupported on the
34      # Windows Build Environment. And 'generic' causes the job to get stuck
35      # on "Booting virtual machine".
36      language: c
37      before_install:
38        - choco install python --version=3.5.4
39      env:
40        # Add the directory where the Choco packages go
41        - PATH=/c/Python35:/c/Python35/Scripts:$PATH
42        - PYTHON=python.exe
43      script:
44        - type perl; perl --version
45        - type python; python --version
46        - scripts/make_generated_files.bat
47        # Logs appear out of sequence on Windows. Give time to catch up.
48        - sleep 5
49        - scripts/windows_msbuild.bat v141 # Visual Studio 2017
50
51after_failure:
52- tests/scripts/travis-log-failure.sh
53
54env:
55  global:
56    - SEED=1
57    - secure: "FrI5d2s+ckckC17T66c8jm2jV6i2DkBPU5nyWzwbedjmEBeocREfQLd/x8yKpPzLDz7ghOvr+/GQvsPPn0dVkGlNzm3Q+hGHc/ujnASuUtGrcuMM+0ALnJ3k4rFr9xEvjJeWb4SmhJO5UCAZYvTItW4k7+bj9L+R6lt3TzQbXzg="
58
59install:
60  - $PYTHON scripts/min_requirements.py
61
62addons:
63  apt:
64    packages:
65    - gnutls-bin
66  coverity_scan:
67    project:
68      name: "ARMmbed/mbedtls"
69    notification_email: support-mbedtls@arm.com
70    build_command_prepend:
71    build_command: make
72    branch_pattern: coverity_scan
73