25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

83 satır
1.7 KiB

  1. # Two types of tests:
  2. #
  3. # 1. shell tests run using bats
  4. # 2. build tests also run using bats
  5. #
  6. # Shell tests are run unconditionally on Linux (see jobs.include).
  7. #
  8. # Build tests can be skipped by starting the commit message with
  9. # '[skip build]'.
  10. #
  11. # Build tests are run on platforms generated from all combinations
  12. # of keys below.
  13. language: c
  14. os:
  15. - linux
  16. - osx
  17. dist:
  18. - focal
  19. # https://docs.travis-ci.com/user/reference/osx/#macos-version
  20. osx_image:
  21. - xcode9.4.1 # macOS 10.13.6
  22. - xcode10.3 # macOS 10.14.4
  23. - xcode11.6 # macOS 10.15.7
  24. - xcode12.2 # macOS 10.15.7
  25. env:
  26. - PYTHON_BUILD_VERSION=3.9.1
  27. - PYTHON_BUILD_VERSION=3.7.5
  28. before_install:
  29. - date +%Y-%m-%dT%H:%M:%S
  30. install: git clone --depth 1 --branch v1.2.0 https://github.com/bats-core/bats-core.git bats
  31. # Default for auto-generated jobs.
  32. script: make test-build
  33. jobs:
  34. include:
  35. # Shell-based tests should execute every time.
  36. - stage: test shell
  37. script: make test
  38. env: PYENV_NATIVE_EXT=1
  39. after_script: []
  40. os: linux
  41. - stage: test shell
  42. script: make test
  43. env: PYENV_NATIVE_EXT=
  44. after_script: []
  45. os: linux
  46. exclude:
  47. # For each osx_image but one there should be an entry in the exclude
  48. # list, to prevent duplicate Linux builds.
  49. - os: linux
  50. osx_image: xcode9.4
  51. - os: linux
  52. osx_image: xcode10
  53. allow_failures:
  54. - env: PYTHON_BUILD_VERSION=3.9.1
  55. stages:
  56. - test shell
  57. - name: test
  58. if: NOT (commit_message =~ /^\[skip build\]/)
  59. # Default
  60. notifications:
  61. email:
  62. on_success: never
  63. deploy:
  64. provider: releases
  65. api_key:
  66. secure: FLWevL09KYp7V1SjJUNEdWzuomuocXwNvPr1DSAFH7mmrjKTtjzwrjINAthSqzjlDrs5B//P47l1VLyHp5byEzy673W+bOmEg8swmqc7E9FrHLRyEByd/yca3DzkZgXEXgGdY/cl7tHhM4V2fYKEgAIWbFV+takmTFMK4WkEtNg=
  67. on:
  68. repo: pyenv/pyenv
  69. tags: true