plone.recipe.codeanalysis/no-flake8-commas: fix travis

"Jens W. Klein" <jenkins-z4DKO/[email protected]> Thu, 27 Jul 2017 06:46:48 -0700 (PDT)
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.recipe.codeanalysis
Branch: refs/heads/no-flake8-commas
Date: 2017-07-27T15:46:36+02:00
Author: Jens W. Klein (jensens) <jk-jUMamYRpa/IasaSY4/nUZ7NldLUNz+W/@public.gmane.org>
Commit: https://github.com/plone/plone.recipe.codeanalysis/commit/d780bd72974b400f115a8212fd02b66b8438194b

fix travis

Files changed:
A bootstrap.sh
A requirements.txt
M .travis.yml

diff --git a/.travis.yml b/.travis.yml
index 2dd9485..e28923a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,8 @@ language: python
 python:
   - 2.7
   - 3.4
+  - 3.5
+  - 3.6
 sudo: false
 cache:
   directories:
@@ -13,12 +15,15 @@ env:
     - CONF=extras.cfg EXTRAS_INSTALLED=true
 matrix:
   allow_failures:
-    - python: 3.4
+    - python:
+      - 3.4
+      - 3.5
+      - 3.6
       env: CONF=extras.cfg EXTRAS_INSTALLED=true
 install:
-  - python bootstrap-buildout.py --setuptools-version=18.5
-  - bin/buildout -c $CONF annotate
-  - bin/buildout -N -t 3 -c $CONF
+  - pip install -r requirements.txt
+  - buildout -c $CONF annotate
+  - buildout -N -t 3 -c $CONF
 script:
   - bin/code-analysis
   - bin/test
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..1e9a83f
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+virtualenv --clear .
+./bin/pip install -r requirements.txt
+./bin/buildout $*
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..244887f
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+setuptools==33.1.1
+zc.buildout==2.8.0



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot