فهرست منبع

Remove py27 from cloudbridge build matrix

Nuwan Goonasekera 6 سال پیش
والد
کامیت
770a4e0446
4فایلهای تغییر یافته به همراه15 افزوده شده و 36 حذف شده
  1. 0 10
      .travis.yml
  2. 13 23
      README.rst
  3. 1 0
      setup.cfg
  4. 1 3
      tox.ini

+ 0 - 10
.travis.yml

@@ -11,16 +11,6 @@ matrix:
   allow_failures:
   - os: osx
   include:
-  - python: 2.7
-    env: TOX_ENV=py27-aws
-  - python: 2.7
-    env: TOX_ENV=py27-azure
-  - python: 2.7
-    env: TOX_ENV=py27-gcp
-  - python: 2.7
-    env: TOX_ENV=py27-mock
-  - python: 2.7
-    env: TOX_ENV=py27-openstack
   - python: 3.6
     env: TOX_ENV=py36-aws
   - python: 3.6

+ 13 - 23
README.rst

@@ -22,44 +22,34 @@ Build Status Tests
    :target: http://cloudbridge.readthedocs.org/en/latest/?badge=latest
    :alt: Documentation Status
 
-.. |aws-py27| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/1
-              :target: https://travis-ci.org/CloudVE/cloudbridge
 .. |aws-py36| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/6
               :target: https://travis-ci.org/CloudVE/cloudbridge
 
-.. |azure-py27| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/2
-                :target: https://travis-ci.org/CloudVE/cloudbridge
 .. |azure-py36| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/7
                 :target: https://travis-ci.org/CloudVE/cloudbridge
 
-.. |gcp-py27| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/3
-              :target: https://travis-ci.org/CloudVE/cloudbridge
 .. |gcp-py36| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/8
               :target: https://travis-ci.org/CloudVE/cloudbridge
 
-.. |mock-py27| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/4
-              :target: https://travis-ci.org/CloudVE/cloudbridge
 .. |mock-py36| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/9
               :target: https://travis-ci.org/CloudVE/cloudbridge
 
-.. |os-py27| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/5
-             :target: https://travis-ci.org/CloudVE/cloudbridge
 .. |os-py36| image:: https://travis-matrix-badges.herokuapp.com/repos/CloudVE/cloudbridge/branches/master/10
              :target: https://travis-ci.org/CloudVE/cloudbridge
 
-+---------------------------+----------------+----------------+
-| **Provider/Environment**  | **Python 2.7** | **Python 3.6** |
-+---------------------------+----------------+----------------+
-| **Amazon Web Services**   | |aws-py27|     | |aws-py36|     |
-+---------------------------+----------------+----------------+
-| **Google Cloud Platform** | |gcp-py27|     | |gcp-py36|     |
-+---------------------------+----------------+----------------+
-| **Microsoft Azure**       | |azure-py27|   | |azure-py36|   |
-+---------------------------+----------------+----------------+
-| **OpenStack**             | |os-py27|      | |os-py36|      |
-+---------------------------+----------------+----------------+
-| **Mock Provider**         | |mock-py27|    | |mock-py36|    |
-+---------------------------+----------------+----------------+
++---------------------------+----------------+
+| **Provider/Environment**  | **Python 3.6** |
++---------------------------+----------------+
+| **Amazon Web Services**   | |aws-py36|     |
++---------------------------+----------------+
+| **Google Cloud Platform** | |gcp-py36|     |
++---------------------------+----------------+
+| **Microsoft Azure**       | |azure-py36|   |
++---------------------------+----------------+
+| **OpenStack**             | |os-py36|      |
++---------------------------+----------------+
+| **Mock Provider**         | |mock-py36|    |
++---------------------------+----------------+
 
 Installation
 ~~~~~~~~~~~~

+ 1 - 0
setup.cfg

@@ -4,6 +4,7 @@ source = cloudbridge
 omit =
   cloudbridge/interfaces/*
   cloudbridge/__init__.py
+parallel = True
 
 [nosetests]
 with-coverage=1

+ 1 - 3
tox.ini

@@ -10,8 +10,6 @@ envlist = {py27,py36,pypy}-{aws,azure,gcp,openstack,mock}
 
 [testenv]
 commands = flake8 cloudbridge tests setup.py
-           # delete existing coverage files
-           rm /home/travis/build/CloudVE/cloudbridge/.coverage*
            # see setup.cfg for options sent to nosetests and coverage
            nosetests -v --nocapture --nologcapture --logging-format='%(asctime)s [%(levelname)s] %(name)s: %(message)s' {posargs}
 setenv =
@@ -32,4 +30,4 @@ passenv =
     mock: CB_IMAGE_AWS CB_INSTANCE_TYPE_AWS CB_PLACEMENT_AWS AWS_ACCESS_KEY AWS_SECRET_KEY
 deps =
     -rrequirements.txt
-    coverage
+    coverage<5