Skip to content

Commit

Permalink
feat: update travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Jan 8, 2020
1 parent b3610b6 commit 82373c1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .travis.yml
@@ -1,3 +1,6 @@
version: ~> 1.0
import: collective/buildout.plonetest:travis/default.yml

language: python

python:
Expand All @@ -17,18 +20,20 @@ matrix:
cache:
pip: true
directories:
- eggs
- $HOME/buildout-cache

before_install:
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- virtualenv .
- pip install -r requirements.txt
- sed -ie "s#5.1.x#$PLONE_VERSION#" travis.cfg
- git diff
- bin/pip install --upgrade pip setuptools==38.2.4 zc.buildout
- buildout -N -t 3 annotate

install:
- pip install -q docutils # for setup.py check -r -s
- bin/buildout -Nc travis.cfg
- bin/buildout -N -t 3 -c travis.cfg

script:
- bin/check-manifest
Expand All @@ -40,7 +45,7 @@ script:
- bin/coverage report -m

after_success:
- pip install -q coverage==3.6 coveralls
- pip install -q coverage coveralls
- coveralls

notifications:
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
@@ -0,0 +1,2 @@
setuptools==41.2.0
zc.buildout==2.13.2
9 changes: 4 additions & 5 deletions travis.cfg
@@ -1,6 +1,6 @@
[buildout]
extends =
https://raw.githubusercontent.com/collective/buildout.plonetest/master/travis-5.1.x.cfg
https://raw.githubusercontent.com/collective/buildout.plonetest/master/test-5.1.x.cfg
buildout.cfg
parts =
test
Expand All @@ -13,10 +13,9 @@ parts =
eggs-directory = /home/travis/buildout-cache/eggs
download-cache = /home/travis/buildout-cache/downloads

package-name = collective.contentalerts
test-eggs = collective.contentalerts

[createcoverage]
recipe = zc.recipe.egg
eggs = createcoverage

[versions]
coverage = 3.7.1
createcoverage = 1.4.1

0 comments on commit 82373c1

Please sign in to comment.