Skip to content

Commit

Permalink
fix/optimize travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Apr 17, 2020
1 parent 0f5e59e commit 780f0f8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ matrix:
sudo: true
install:
- pip install -r requirements-${PLONE_VERSION}.txt
- buildout -Nc buildout-${PLONE_VERSION}.cfg buildout:download-cache=downloads code-analysis:return-status-codes=True annotate
- buildout -Nc buildout-${PLONE_VERSION}.cfg buildout:download-cache=downloads code-analysis:return-status-codes=True
- buildout -Nc buildout-${PLONE_VERSION}.cfg buildout:download-cache=downloads code-analysis:return-status-codes=True "parts=test code-analysis coverage test-coverage testldap" annotate
- buildout -Nc buildout-${PLONE_VERSION}.cfg buildout:download-cache=downloads code-analysis:return-status-codes=True "parts=test code-analysis coverage test-coverage testldap"
script:
- bin/code-analysis
- bin/test
Expand Down
1 change: 1 addition & 0 deletions base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ eggs = zest.releaser[recommended]
[test]
recipe = zc.recipe.testrunner
eggs =
${python-ldap:egg}
pas.plugins.ldap[test]

environment = testenv
Expand Down
2 changes: 1 addition & 1 deletion ldap.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parts +=
# this build needs (on debian based systems):
# apt-get install libssl-dev
recipe = zc.recipe.cmmi>=2.0.0
url = http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.47.tgz
url = https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.49.tgz
extra_options = --with-tls --enable-slapd=yes --enable-overlays --disable-bdb --disable-hdb CPPFLAGS=-D_GNU_SOURCE
shared = true

Expand Down
25 changes: 0 additions & 25 deletions travis.cfg

This file was deleted.

6 changes: 5 additions & 1 deletion versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ auto-checkout +=

[versions]
# Test
plone.recipe.codeanalysis = >=2.1
plone.recipe.codeanalysis = >=3.0.1
flake8 = >=2.3.0
coverage = 3.7.1

Expand All @@ -24,6 +24,10 @@ Sphinx = >=1.3.1
docutils = >=0.12
Pygments = >=2.0.2

[versions:python27]
configparser = <5
zipp = <2

[repo]
rw = [email protected]:bluedynamics
ro = https://github.com/bluedynamics
Expand Down

0 comments on commit 780f0f8

Please sign in to comment.