Skip to content

Commit 870b775

Browse files
reaperhulkalex
authored andcommitted
more infra changes (#809)
* more infra changes * upgrade pypy * still run a test against 1.0.1 * we don't need this builder * ...
1 parent f0a59cd commit 870b775

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

.travis.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dist: trusty
2-
sudo: false
1+
dist: xenial
2+
sudo: true
33
language: python
44

55
cache:
@@ -15,13 +15,12 @@ matrix:
1515
- language: generic
1616
os: osx
1717
osx_image: xcode10.1
18-
env: TOXENV=py27
19-
- language: generic
20-
os: osx
21-
osx_image: xcode10.1
22-
env: TOXENV=py27 OPENSSL=1.1.0
18+
env: TOXENV=py27 OPENSSL=1.1.1
2319
- python: "2.7" # these are just to make travis's UI a bit prettier
2420
env: TOXENV=py27
21+
dist: trusty # For OpenSSL 1.0.1 coverage
22+
- python: "2.7"
23+
env: TOXENV=py27
2524
- python: "3.4"
2625
env: TOXENV=py34
2726
- python: "3.5"
@@ -30,11 +29,9 @@ matrix:
3029
env: TOXENV=py36
3130
- python: "3.7"
3231
env: TOXENV=py37
33-
dist: xenial
34-
sudo: true
35-
- python: "pypy"
32+
- python: "pypy2.7-5.10.0"
3633
env: TOXENV=pypy
37-
- python: "pypy3"
34+
- python: "pypy3.5-5.10.1"
3835
env: TOXENV=pypy3
3936

4037
# Also run the tests against cryptography master.
@@ -48,11 +45,9 @@ matrix:
4845
env: TOXENV=py36-cryptographyMaster
4946
- python: "3.7"
5047
env: TOXENV=py37-cryptographyMaster
51-
dist: xenial
52-
sudo: true
53-
- python: "pypy"
48+
- python: "pypy2.7-5.10.0"
5449
env: TOXENV=pypy-cryptographyMaster
55-
- python: "pypy3"
50+
- python: "pypy3.5-5.10.1"
5651
env: TOXENV=pypy3-cryptographyMaster
5752

5853
# And current minimum cryptography version.
@@ -66,11 +61,9 @@ matrix:
6661
env: TOXENV=py36-cryptographyMinimum
6762
- python: "3.7"
6863
env: TOXENV=py37-cryptographyMinimum
69-
dist: xenial
70-
sudo: true
71-
- python: "pypy"
64+
- python: "pypy2.7-5.10.0"
7265
env: TOXENV=pypy-cryptographyMinimum
73-
- python: "pypy3"
66+
- python: "pypy3.5-5.10.1"
7467
env: TOXENV=pypy3-cryptographyMinimum
7568

7669

@@ -110,7 +103,7 @@ install:
110103
- |
111104
if [[ "$(uname -s)" == 'Darwin' ]]; then
112105
brew update
113-
if [[ "${OPENSSL}" == "1.1.0" ]]; then
106+
if [[ "${OPENSSL}" == "1.1.1" ]]; then
114107
brew upgrade [email protected]
115108
else
116109
brew upgrade openssl
@@ -128,7 +121,7 @@ script:
128121
- |
129122
if [[ "$(uname -s)" == 'Darwin' ]]; then
130123
# set our flags to use homebrew openssl
131-
if [[ "${OPENSSL}" == "1.1.0" ]]; then
124+
if [[ "${OPENSSL}" == "1.1.1" ]]; then
132125
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
133126
export CFLAGS="-I/usr/local/opt/[email protected]/include"
134127
export PATH="/usr/local/opt/[email protected]/bin:$PATH"

0 commit comments

Comments
 (0)