blob: 1b33c6f5b0107ae8bb2b0dbe6b37572bce0e9244 [file] [log] [blame]
Paul Kehrere6a52842015-03-26 22:48:53 -05001sudo: false
Alex Gaynor4e1dd2e2015-05-02 17:36:11 -04002
Paul Kehrere6a52842015-03-26 22:48:53 -05003language: python
Alex Gaynor4e1dd2e2015-05-02 17:36:11 -04004
Paul Kehrere6a52842015-03-26 22:48:53 -05005cache:
6 directories:
7 - $HOME/.cache/pip
Paul Kehrer9dba3302016-01-03 12:36:40 -06008 - $HOME/ossl-100t
Paul Kehrer07ea3cd2016-08-26 21:48:24 +08009 - $HOME/ossl-110
Alex Gaynor4e1dd2e2015-05-02 17:36:11 -040010
Paul Kehrere6a52842015-03-26 22:48:53 -050011matrix:
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 Kehrere6a52842015-03-26 22:48:53 -050017 - python: 3.3
18 env: TOXENV=py33
19 - python: 3.4
20 env: TOXENV=py34
Paul Kehrer4e91f7f2015-09-14 09:02:46 -050021 - python: 3.5
22 env: TOXENV=py35
Paul Kehrer9712c512015-04-13 16:50:13 -040023 - python: pypy
Alex Gaynorea5882a2016-04-22 16:03:52 -040024 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 Kehrer29b407d2016-01-03 16:18:08 -060029 - python: 2.7
30 env: TOXENV=py27 OPENSSL=1.0.0
Paul Kehrer9dba3302016-01-03 12:36:40 -060031 - python: 3.5
32 env: TOXENV=py35 OPENSSL=1.0.0
Paul Kehrere6a52842015-03-26 22:48:53 -050033 - python: 2.7
Paul Kehrer07ea3cd2016-08-26 21:48:24 +080034 env: TOXENV=py27 OPENSSL=1.1.0
35 - python: 3.5
36 env: TOXENV=py35 OPENSSL=1.1.0
37 - python: 2.7
Paul Kehrere6a52842015-03-26 22:48:53 -050038 env: TOXENV=docs
39 addons:
40 apt:
41 packages:
42 - libenchant-dev
43 - python: 2.7
44 env: TOXENV=pep8
Alex Gaynor72500f82015-08-08 18:53:47 -040045 - python: 3.4
Paul Kehrere6a52842015-03-26 22:48:53 -050046 env: TOXENV=py3pep8
47 - language: generic
48 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060049 # 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 Kehrer7402cf12015-08-31 12:34:30 -050052 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050053 - language: generic
54 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060055 osx_image: xcode7.1
Paul Kehrer7402cf12015-08-31 12:34:30 -050056 env: TOXENV=py33 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050057 - language: generic
58 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060059 osx_image: xcode7.1
Paul Kehrer7402cf12015-08-31 12:34:30 -050060 env: TOXENV=py34 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050061 - language: generic
62 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060063 osx_image: xcode7.1
Paul Kehrer4e91f7f2015-09-14 09:02:46 -050064 env: TOXENV=py35 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
65 - language: generic
66 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060067 osx_image: xcode7.1
Alex Gaynorea5882a2016-04-22 16:03:52 -040068 env: TOXENV=pypy-nocoverage CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1 PYPY_VERSION=5.1
Paul Kehrere6a52842015-03-26 22:48:53 -050069 - language: generic
70 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060071 osx_image: xcode7.1
Paul Kehrer7402cf12015-08-31 12:34:30 -050072 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=0
Paul Kehrer2f1d5a42015-08-29 15:55:56 -050073 - language: generic
74 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060075 # 7.2 is OS X 10.11.x
76 osx_image: xcode7.2
Paul Kehrercfb6d732015-09-24 21:16:19 -050077 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrer56c740c2015-09-24 22:26:08 -050078 - language: generic
79 os: osx
Paul Kehrera490aaf2016-01-02 22:49:06 -060080 osx_image: xcode7.2
Paul Kehrer355174a2015-12-22 09:47:26 -060081 env: TOXENV=docs CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Alex Gaynor0f66c6d2013-08-07 12:18:02 -070082
Alex Gaynor02f819d2013-08-07 07:46:45 -070083install:
David Reid6b609bb2013-11-06 11:44:15 -080084 - ./.travis/install.sh
Alex Gaynor0f66c6d2013-08-07 12:18:02 -070085
Alex Gaynor02f819d2013-08-07 07:46:45 -070086script:
Paul Kehrerfff077f2014-01-09 23:42:31 -060087 - ./.travis/run.sh
Alex Gaynor9d005882013-08-07 13:21:42 -070088
Alex Gaynor088b4bd2013-11-05 16:27:27 -080089after_success:
Alex Gaynorb724d982015-07-12 12:13:55 -050090 - ./.travis/upload_coverage.sh
Alex Gaynor088b4bd2013-11-05 16:27:27 -080091
Donald Stufftb8f29fc2013-08-07 16:56:59 -040092notifications:
93 irc:
94 channels:
95 - "irc.freenode.org#cryptography-dev"
96 use_notice: true
97 skip_join: true
Alex Gaynord1e94992015-05-02 09:26:27 -040098 webhooks:
99 - https://buildtimetrend.herokuapp.com/travis