.travis.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. language: python
  2. python:
  3. - "2.7"
  4. - "3.4"
  5. - "3.5"
  6. - "3.6"
  7. - "3.7"
  8. - "3.8"
  9. env:
  10. - CFFI=no
  11. - CFFI=yes
  12. matrix:
  13. exclude:
  14. - python: pypy
  15. env: CFFI=no
  16. - python: pypy3
  17. env: CFFI=no
  18. include:
  19. - python: 2.6
  20. env: CFFI=no
  21. dist: trusty
  22. - python: pypy
  23. env: CFFI=yes
  24. - python: pypy3
  25. env: CFFI=yes
  26. - language: c
  27. script: cd src/test && make
  28. after_success: true
  29. - language: c
  30. dist: trusty
  31. install: sudo apt-get install libc6-dev-i386
  32. script: cd src/test && CFLAGS="-m32" UNDEFS="-UHAVE_UINT128" make
  33. after_success: true
  34. - language: c
  35. script: cd src/test && CPPFLAGS="-DHAVE_X86INTRIN_H" make
  36. after_success: true
  37. - python: 3.8
  38. install: pip install mypy
  39. script: mypy lib/
  40. after_success: true
  41. - os: osx
  42. env: PYCRYPTODOME_DEBUG=1
  43. env: CFLAGS=" -isysroot $(xcrun --sdk macosx --show-sdk-path)"
  44. language: generic
  45. install: pip2 install cibuildwheel==1.1.0
  46. after_success: travis/travis_after_success_osx.sh
  47. services:
  48. - docker
  49. branches:
  50. except:
  51. - "/^.*-wip$/"
  52. install:
  53. - travis/travis_install.sh
  54. script:
  55. - travis/travis_script.sh
  56. after_success:
  57. - travis/travis_after_success.sh
  58. deploy:
  59. provider: s3
  60. access_key_id: AKIAISG4H2IJZLISXOPQ
  61. secret_access_key:
  62. secure: DAuc3n+JLxlBmCLgQuLSXwIRHropTVK/TWj3jD99aB1+Bzy5CpmPtXyR3DGltGF2Bum52xcRM8dLFktinFkMqKF7UKZRGNwEey07Nhen94AGjkLomeEM0SRRjVP6T8RqLBK+buNcoRqiFTNM+JlW5ndY6Wy+kFaan+qk3UNz570=
  63. bucket: pycryptodome-releases
  64. local_dir: wheelhouse
  65. skip_cleanup: true
  66. acl: public_read
  67. on:
  68. condition: -d wheelhouse
  69. all_branches: true
  70. repo: Legrandin/pycryptodome
  71. tags: true