.travis.yml 1.9 KB

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