blob: 23c999ecd34621e6c68a0ae478938797a03abaf8 [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
Alex Gaynor4e1dd2e2015-05-02 17:36:11 -04008
Paul Kehrere6a52842015-03-26 22:48:53 -05009matrix:
10 include:
11 - python: 2.6 # these are just to make travis's UI a bit prettier
12 env: TOXENV=py26
13 - python: 2.7
14 env: TOXENV=py27
Paul Kehrere6a52842015-03-26 22:48:53 -050015 - python: 3.3
16 env: TOXENV=py33
17 - python: 3.4
18 env: TOXENV=py34
Paul Kehrer4e91f7f2015-09-14 09:02:46 -050019 - python: 3.5
20 env: TOXENV=py35
Paul Kehrer9712c512015-04-13 16:50:13 -040021 - python: pypy
22 env: TOXENV=pypy
Paul Kehrere6a52842015-03-26 22:48:53 -050023 - python: 2.6
24 env: TOXENV=py26 OPENSSL=0.9.8
25 addons:
26 apt:
27 sources:
28 - lucid
29 packages:
30 - libssl-dev/lucid
31 - python: 2.7
32 env: TOXENV=py27 OPENSSL=0.9.8
33 addons:
34 apt:
35 sources:
36 - lucid
37 packages:
38 - libssl-dev/lucid
Paul Kehrere6a52842015-03-26 22:48:53 -050039 - python: 3.3
40 env: TOXENV=py33 OPENSSL=0.9.8
41 addons:
42 apt:
43 sources:
44 - lucid
45 packages:
46 - libssl-dev/lucid
47 - python: 3.4
48 env: TOXENV=py34 OPENSSL=0.9.8
49 addons:
50 apt:
51 sources:
52 - lucid
53 packages:
54 - libssl-dev/lucid
Paul Kehrer4e91f7f2015-09-14 09:02:46 -050055 - python: 3.5
56 env: TOXENV=py35 OPENSSL=0.9.8
57 addons:
58 apt:
59 sources:
60 - lucid
61 packages:
62 - libssl-dev/lucid
Paul Kehrer9712c512015-04-13 16:50:13 -040063 - python: pypy
64 env: TOXENV=pypy OPENSSL=0.9.8
65 addons:
66 apt:
67 sources:
68 - lucid
69 packages:
70 - libssl-dev/lucid
Paul Kehrere6a52842015-03-26 22:48:53 -050071 - python: 2.7
72 env: TOXENV=docs
73 addons:
74 apt:
75 packages:
76 - libenchant-dev
77 - python: 2.7
78 env: TOXENV=pep8
Alex Gaynor72500f82015-08-08 18:53:47 -040079 - python: 3.4
Paul Kehrere6a52842015-03-26 22:48:53 -050080 env: TOXENV=py3pep8
81 - language: generic
82 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -050083 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -050084 env: TOXENV=py26 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050085 - language: generic
86 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -050087 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -050088 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050089 - language: generic
90 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -050091 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -050092 env: TOXENV=py33 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050093 - language: generic
94 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -050095 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -050096 env: TOXENV=py34 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -050097 - language: generic
98 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -050099 osx_image: xcode7
Paul Kehrer4e91f7f2015-09-14 09:02:46 -0500100 env: TOXENV=py35 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
101 - language: generic
102 os: osx
103 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -0500104 env: TOXENV=pypy CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrere6a52842015-03-26 22:48:53 -0500105 - language: generic
106 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500107 osx_image: xcode7
Paul Kehrer7402cf12015-08-31 12:34:30 -0500108 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=0
Paul Kehrer2f1d5a42015-08-29 15:55:56 -0500109 - language: generic
110 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500111 osx_image: xcode7
Paul Kehrere6a52842015-03-26 22:48:53 -0500112 env: TOXENV=py26 OPENSSL=0.9.8
113 - language: generic
114 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500115 osx_image: xcode7
Paul Kehrere6a52842015-03-26 22:48:53 -0500116 env: TOXENV=py27 OPENSSL=0.9.8
117 - language: generic
118 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500119 osx_image: xcode7
Paul Kehrere6a52842015-03-26 22:48:53 -0500120 env: TOXENV=py33 OPENSSL=0.9.8
121 - language: generic
122 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500123 osx_image: xcode7
Paul Kehrere6a52842015-03-26 22:48:53 -0500124 env: TOXENV=py34 OPENSSL=0.9.8
125 - language: generic
126 os: osx
Paul Kehrer3ca143c2015-09-09 21:02:14 -0500127 osx_image: xcode7
Paul Kehrer4e91f7f2015-09-14 09:02:46 -0500128 env: TOXENV=py35 OPENSSL=0.9.8
129 - language: generic
130 os: osx
131 osx_image: xcode7
Paul Kehrere6a52842015-03-26 22:48:53 -0500132 env: TOXENV=pypy OPENSSL=0.9.8
133 - language: generic
134 os: osx
Paul Kehrercfb6d732015-09-24 21:16:19 -0500135 osx_image: osx10.11
136 env: TOXENV=py26 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
137 - language: generic
138 os: osx
139 osx_image: osx10.11
140 env: TOXENV=py27 CRYPTOGRAPHY_OSX_NO_LINK_FLAGS=1
Paul Kehrer56c740c2015-09-24 22:26:08 -0500141 - language: generic
142 os: osx
143 osx_image: xcode7
144 env: TOXENV=docs
Alex Gaynor0f66c6d2013-08-07 12:18:02 -0700145
Alex Gaynor02f819d2013-08-07 07:46:45 -0700146install:
David Reid6b609bb2013-11-06 11:44:15 -0800147 - ./.travis/install.sh
Alex Gaynor0f66c6d2013-08-07 12:18:02 -0700148
Alex Gaynor02f819d2013-08-07 07:46:45 -0700149script:
Paul Kehrerfff077f2014-01-09 23:42:31 -0600150 - ./.travis/run.sh
Alex Gaynor9d005882013-08-07 13:21:42 -0700151
Alex Gaynor088b4bd2013-11-05 16:27:27 -0800152after_success:
Alex Gaynorb724d982015-07-12 12:13:55 -0500153 - ./.travis/upload_coverage.sh
Alex Gaynor088b4bd2013-11-05 16:27:27 -0800154
Donald Stufftb8f29fc2013-08-07 16:56:59 -0400155notifications:
156 irc:
157 channels:
158 - "irc.freenode.org#cryptography-dev"
159 use_notice: true
160 skip_join: true
Alex Gaynord1e94992015-05-02 09:26:27 -0400161 webhooks:
162 - https://buildtimetrend.herokuapp.com/travis