Compare commits
12 Commits
test-pytho
...
test-pytho
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05b6e378fc | ||
|
|
eb3b7f765a | ||
|
|
af233a080f | ||
|
|
715c34940e | ||
|
|
6f039c964a | ||
|
|
67cd8c37ab | ||
|
|
3f4874816f | ||
|
|
2bfc376041 | ||
|
|
fefc19a411 | ||
|
|
638b5669bf | ||
|
|
da16dd502c | ||
|
|
5f1e647664 |
72
.travis.yml
72
.travis.yml
@@ -5,61 +5,22 @@ cache:
|
|||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- '([ $TRAVIS_OS_NAME == linux ] && dpkg -s libaugeas0) || (brew update && brew install augeas python3 && brew upgrade python && brew link python)'
|
- 'if [ $TRAVIS_OS_NAME = osx ] ; then brew update && brew install augeas python3 && brew upgrade python && brew link python; fi'
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- 'if [ $TRAVIS_OS_NAME = osx ] ; then ulimit -n 1024 ; fi'
|
- 'if [ $TRAVIS_OS_NAME = osx ] ; then ulimit -n 1024 ; fi'
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- RUNLEVEL=1
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "2.7"
|
- python: "3.7"
|
||||||
env: TOXENV=py27_install BOULDER_INTEGRATION=v1
|
dist: xenial
|
||||||
|
env: TOXENV=py37
|
||||||
sudo: required
|
sudo: required
|
||||||
services: docker
|
services: nginx
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV=py27_install BOULDER_INTEGRATION=v2
|
|
||||||
sudo: required
|
|
||||||
services: docker
|
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV=cover FYI="this also tests py27"
|
|
||||||
- sudo: required
|
|
||||||
env: TOXENV=nginx_compat
|
|
||||||
services: docker
|
|
||||||
before_install:
|
|
||||||
addons:
|
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV=lint
|
|
||||||
- python: "3.4"
|
|
||||||
env: TOXENV=mypy
|
|
||||||
- python: "3.5"
|
|
||||||
env: TOXENV=mypy
|
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV='py27-{acme,apache,certbot,dns,nginx}-oldest'
|
|
||||||
sudo: required
|
|
||||||
services: docker
|
|
||||||
- python: "3.4"
|
|
||||||
env: TOXENV=py34
|
|
||||||
sudo: required
|
|
||||||
services: docker
|
|
||||||
- python: "3.6"
|
|
||||||
env: TOXENV=py36
|
|
||||||
sudo: required
|
|
||||||
services: docker
|
|
||||||
- sudo: required
|
|
||||||
env: TOXENV=apache_compat
|
|
||||||
services: docker
|
|
||||||
before_install:
|
|
||||||
addons:
|
|
||||||
- sudo: required
|
|
||||||
env: TOXENV=le_auto_trusty
|
|
||||||
services: docker
|
|
||||||
before_install:
|
|
||||||
addons:
|
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV=apacheconftest
|
|
||||||
sudo: required
|
|
||||||
- python: "2.7"
|
|
||||||
env: TOXENV=nginxroundtrip
|
|
||||||
|
|
||||||
|
|
||||||
# Only build pushes to the master branch, PRs, and branches beginning with
|
# Only build pushes to the master branch, PRs, and branches beginning with
|
||||||
@@ -77,8 +38,6 @@ sudo: false
|
|||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
|
||||||
- augeas
|
|
||||||
packages: # Keep in sync with letsencrypt-auto-source/pieces/bootstrappers/deb_common.sh and Boulder.
|
packages: # Keep in sync with letsencrypt-auto-source/pieces/bootstrappers/deb_common.sh and Boulder.
|
||||||
- python-dev
|
- python-dev
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
@@ -87,13 +46,7 @@ addons:
|
|||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
# For certbot-nginx integration testing
|
|
||||||
- nginx-light
|
|
||||||
- openssl
|
- openssl
|
||||||
# for apacheconftest
|
|
||||||
- apache2
|
|
||||||
- libapache2-mod-wsgi
|
|
||||||
- libapache2-mod-macro
|
|
||||||
|
|
||||||
install: "travis_retry $(command -v pip || command -v pip3) install tox coveralls"
|
install: "travis_retry $(command -v pip || command -v pip3) install tox coveralls"
|
||||||
script:
|
script:
|
||||||
@@ -104,10 +57,3 @@ after_success: '[ "$TOXENV" == "cover" ] && coveralls'
|
|||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
irc:
|
|
||||||
channels:
|
|
||||||
- secure: "SGWZl3ownKx9xKVV2VnGt7DqkTmutJ89oJV9tjKhSs84kLijU6EYdPnllqISpfHMTxXflNZuxtGo0wTDYHXBuZL47w1O32W6nzuXdra5zC+i4sYQwYULUsyfOv9gJX8zWAULiK0Z3r0oho45U+FR5ZN6TPCidi8/eGU+EEPwaAw="
|
|
||||||
on_cancel: never
|
|
||||||
on_success: never
|
|
||||||
on_failure: always
|
|
||||||
use_notice: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user