Prechádzať zdrojové kódy

Added pythonunbuffered to travis and remove travis_wait

Nuwan Goonasekera 7 rokov pred
rodič
commit
81386e63a1
2 zmenil súbory, kde vykonal 5 pridanie a 2 odobranie
  1. 4 1
      .travis.yml
  2. 1 1
      tox.ini

+ 4 - 1
.travis.yml

@@ -30,6 +30,9 @@ matrix:
       env: TOX_ENV=pypy-azure
     - python: pypy-5.3.1
       env: TOX_ENV=pypy-openstack
+env:
+  global:
+    - PYTHONUNBUFFERED=True
 before_install:
     - |
       case "$TRAVIS_EVENT_TYPE" in
@@ -64,7 +67,7 @@ install:
     - pip install coveralls
     - pip install codecov
 script:
-    - travis_wait 40 tox -r -e $TOX_ENV
+    - tox -r -e $TOX_ENV
 after_script:
     - |
       case "$TRAVIS_EVENT_TYPE" in

+ 1 - 1
tox.ini

@@ -17,7 +17,7 @@ envlist = {py27,py36,pypy}-{aws,azure,openstack}
 [testenv]
 commands = flake8 cloudbridge test setup.py
            # see setup.cfg for options sent to nosetests and coverage
-           nosetests -v -s --logging-format='%(asctime)s [%(levelname)s] %(name)s: %(message)s' {posargs}
+           nosetests -v --nocapture --nologcapture --logging-format='%(asctime)s [%(levelname)s] %(name)s: %(message)s' {posargs}
 setenv =
     MOTO_AMIS_PATH=./test/fixtures/custom_amis.json
     aws: CB_TEST_PROVIDER=aws