Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 1 | sudo: false |
Alex Gaynor | 4e1dd2e | 2015-05-02 17:36:11 -0400 | [diff] [blame] | 2 | |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 3 | language: python |
Alex Gaynor | 4e1dd2e | 2015-05-02 17:36:11 -0400 | [diff] [blame] | 4 | |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 5 | cache: |
| 6 | directories: |
| 7 | - $HOME/.cache/pip |
Paul Kehrer | 9dba330 | 2016-01-03 12:36:40 -0600 | [diff] [blame] | 8 | - $HOME/ossl-100t |
Paul Kehrer | 07ea3cd | 2016-08-26 21:48:24 +0800 | [diff] [blame] | 9 | - $HOME/ossl-110 |
Alex Gaynor | 4e1dd2e | 2015-05-02 17:36:11 -0400 | [diff] [blame] | 10 | |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 11 | matrix: |
| 12 | include: |
| 13 | - python: 2.6 # these are just to make travis's UI a bit prettier |
| 14 | env: TOXENV=py26 |
| 15 | - python: 2.7 |
| 16 | env: TOXENV=py27 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 17 | - python: 3.3 |
| 18 | env: TOXENV=py33 |
| 19 | - python: 3.4 |
| 20 | env: TOXENV=py34 |
Paul Kehrer | 4e91f7f | 2015-09-14 09:02:46 -0500 | [diff] [blame] | 21 | - python: 3.5 |
| 22 | env: TOXENV=py35 |
Paul Kehrer | 9712c51 | 2015-04-13 16:50:13 -0400 | [diff] [blame] | 23 | - python: pypy |
Alex Gaynor | ea5882a | 2016-04-22 16:03:52 -0400 | [diff] [blame] | 24 | env: TOXENV=pypy-nocoverage PYPY_VERSION=2.6.1 |
| 25 | - python: pypy |
| 26 | env: TOXENV=pypy PYPY_VERSION=4.0.1 |
| 27 | - python: pypy |
| 28 | env: TOXENV=pypy PYPY_VERSION=5.1 |
Paul Kehrer | 29b407d | 2016-01-03 16:18:08 -0600 | [diff] [blame] | 29 | - python: 2.7 |
| 30 | env: TOXENV=py27 OPENSSL=1.0.0 |
Paul Kehrer | 9dba330 | 2016-01-03 12:36:40 -0600 | [diff] [blame] | 31 | - python: 3.5 |
| 32 | env: TOXENV=py35 OPENSSL=1.0.0 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 33 | - python: 2.7 |
Paul Kehrer | 07ea3cd | 2016-08-26 21:48:24 +0800 | [diff] [blame] | 34 | env: TOXENV=py27 OPENSSL=1.1.0 |
| 35 | - python: 3.5 |
| 36 | env: TOXENV=py35 OPENSSL=1.1.0 |
| 37 | - python: 2.7 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 38 | env: TOXENV=docs |
| 39 | addons: |
| 40 | apt: |
| 41 | packages: |
| 42 | - libenchant-dev |
| 43 | - python: 2.7 |
| 44 | env: TOXENV=pep8 |
Alex Gaynor | 72500f8 | 2015-08-08 18:53:47 -0400 | [diff] [blame] | 45 | - python: 3.4 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 46 | env: TOXENV=py3pep8 |
| 47 | - language: generic |
| 48 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 49 | # 7.1 is OS X 10.10.x |
| 50 | # see: https://docs.travis-ci.com/user/languages/objective-c/#Supported-OS-X-iOS-SDK-versions |
| 51 | osx_image: xcode7.1 |
Paul Kehrer | 7402cf1 | 2015-08-31 12:34:30 -0500 | [diff] [blame] | 52 | env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 53 | - language: generic |
| 54 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 55 | osx_image: xcode7.1 |
Paul Kehrer | 7402cf1 | 2015-08-31 12:34:30 -0500 | [diff] [blame] | 56 | env: TOXENV=py33 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 57 | - language: generic |
| 58 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 59 | osx_image: xcode7.1 |
Paul Kehrer | 7402cf1 | 2015-08-31 12:34:30 -0500 | [diff] [blame] | 60 | env: TOXENV=py34 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 61 | - language: generic |
| 62 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 63 | osx_image: xcode7.1 |
Paul Kehrer | 4e91f7f | 2015-09-14 09:02:46 -0500 | [diff] [blame] | 64 | env: TOXENV=py35 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
| 65 | - language: generic |
| 66 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 67 | osx_image: xcode7.1 |
Alex Gaynor | ea5882a | 2016-04-22 16:03:52 -0400 | [diff] [blame] | 68 | env: TOXENV=pypy-nocoverage CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 PYPY_VERSION=5.1 |
Paul Kehrer | e6a5284 | 2015-03-26 22:48:53 -0500 | [diff] [blame] | 69 | - language: generic |
| 70 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 71 | osx_image: xcode7.1 |
Paul Kehrer | 7402cf1 | 2015-08-31 12:34:30 -0500 | [diff] [blame] | 72 | env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=0 |
Paul Kehrer | 2f1d5a4 | 2015-08-29 15:55:56 -0500 | [diff] [blame] | 73 | - language: generic |
| 74 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 75 | # 7.2 is OS X 10.11.x |
| 76 | osx_image: xcode7.2 |
Paul Kehrer | cfb6d73 | 2015-09-24 21:16:19 -0500 | [diff] [blame] | 77 | env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
Paul Kehrer | 56c740c | 2015-09-24 22:26:08 -0500 | [diff] [blame] | 78 | - language: generic |
| 79 | os: osx |
Paul Kehrer | a490aaf | 2016-01-02 22:49:06 -0600 | [diff] [blame] | 80 | osx_image: xcode7.2 |
Paul Kehrer | 355174a | 2015-12-22 09:47:26 -0600 | [diff] [blame] | 81 | env: TOXENV=docs CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 |
Alex Gaynor | 0f66c6d | 2013-08-07 12:18:02 -0700 | [diff] [blame] | 82 | |
Alex Gaynor | 02f819d | 2013-08-07 07:46:45 -0700 | [diff] [blame] | 83 | install: |
David Reid | 6b609bb | 2013-11-06 11:44:15 -0800 | [diff] [blame] | 84 | - ./.travis/install.sh |
Alex Gaynor | 0f66c6d | 2013-08-07 12:18:02 -0700 | [diff] [blame] | 85 | |
Alex Gaynor | 02f819d | 2013-08-07 07:46:45 -0700 | [diff] [blame] | 86 | script: |
Paul Kehrer | fff077f | 2014-01-09 23:42:31 -0600 | [diff] [blame] | 87 | - ./.travis/run.sh |
Alex Gaynor | 9d00588 | 2013-08-07 13:21:42 -0700 | [diff] [blame] | 88 | |
Alex Gaynor | 088b4bd | 2013-11-05 16:27:27 -0800 | [diff] [blame] | 89 | after_success: |
Alex Gaynor | b724d98 | 2015-07-12 12:13:55 -0500 | [diff] [blame] | 90 | - ./.travis/upload_coverage.sh |
Alex Gaynor | 088b4bd | 2013-11-05 16:27:27 -0800 | [diff] [blame] | 91 | |
Donald Stufft | b8f29fc | 2013-08-07 16:56:59 -0400 | [diff] [blame] | 92 | notifications: |
| 93 | irc: |
| 94 | channels: |
| 95 | - "irc.freenode.org#cryptography-dev" |
| 96 | use_notice: true |
| 97 | skip_join: true |
Alex Gaynor | d1e9499 | 2015-05-02 09:26:27 -0400 | [diff] [blame] | 98 | webhooks: |
| 99 | - https://buildtimetrend.herokuapp.com/travis |