mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 00:22:04 +02:00
Merge pull request #2238 from letsencrypt/travis-retry-cache
Enable pip cache and set Python version
This commit is contained in:
+25
-15
@@ -1,5 +1,9 @@
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
- mariadb
|
- mariadb
|
||||||
@@ -20,22 +24,29 @@ env:
|
|||||||
- GOPATH=/tmp/go
|
- GOPATH=/tmp/go
|
||||||
- PATH=$GOPATH/bin:$PATH
|
- PATH=$GOPATH/bin:$PATH
|
||||||
matrix:
|
matrix:
|
||||||
- TOXENV=py26 BOULDER_INTEGRATION=1
|
include:
|
||||||
- TOXENV=py27 BOULDER_INTEGRATION=1
|
- python: "2.6"
|
||||||
- TOXENV=py26-oldest BOULDER_INTEGRATION=1
|
env: TOXENV=py26 BOULDER_INTEGRATION=1
|
||||||
- TOXENV=py27-oldest BOULDER_INTEGRATION=1
|
- python: "2.6"
|
||||||
- TOXENV=py33
|
env: TOXENV=py26-oldest BOULDER_INTEGRATION=1
|
||||||
- TOXENV=py34
|
|
||||||
- TOXENV=lint
|
|
||||||
- TOXENV=cover
|
|
||||||
# Disabled for now due to requiring sudo -> causing more boulder integration
|
# Disabled for now due to requiring sudo -> causing more boulder integration
|
||||||
# DNS timeouts :(
|
# DNS timeouts :(
|
||||||
# - TOXENV=apacheconftest
|
# - python: "2.7"
|
||||||
matrix:
|
# env: TOXENV=apacheconftest
|
||||||
include:
|
- python: "2.7"
|
||||||
- env: TOXENV=py35
|
env: TOXENV=py27 BOULDER_INTEGRATION=1
|
||||||
python: 3.5
|
- python: "2.7"
|
||||||
|
env: TOXENV=py27-oldest BOULDER_INTEGRATION=1
|
||||||
|
- python: "2.7"
|
||||||
|
env: TOXENV=cover
|
||||||
|
- python: "2.7"
|
||||||
|
env: TOXENV=lint
|
||||||
|
- python: "3.3"
|
||||||
|
env: TOXENV=py33
|
||||||
|
- python: "3.4"
|
||||||
|
env: TOXENV=py34
|
||||||
|
- python: "3.5"
|
||||||
|
env: TOXENV=py35
|
||||||
|
|
||||||
# Only build pushes to the master branch, PRs, and branches beginning with
|
# Only build pushes to the master branch, PRs, and branches beginning with
|
||||||
# `test-`. This reduces the number of simultaneous Travis runs, which speeds
|
# `test-`. This reduces the number of simultaneous Travis runs, which speeds
|
||||||
@@ -57,7 +68,6 @@ addons:
|
|||||||
sources:
|
sources:
|
||||||
- augeas
|
- augeas
|
||||||
packages: # keep in sync with bootstrap/ubuntu.sh and Boulder
|
packages: # keep in sync with bootstrap/ubuntu.sh and Boulder
|
||||||
- python
|
|
||||||
- python-dev
|
- python-dev
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
- gcc
|
- gcc
|
||||||
|
|||||||
Reference in New Issue
Block a user