Browse Source

Update travis.yml to call pytest explicitly

rafalp 6 years ago
parent
commit
153ef2eae6
2 changed files with 2 additions and 2 deletions
  1. 2 1
      .travis.yml
  2. 0 1
      setup.py

+ 2 - 1
.travis.yml

@@ -8,9 +8,10 @@ python:
 install:
   - pip install -U pip setuptools
   - pip install coveralls
+  - python setup.py install
 before_script:
   - psql -c "create database travis_ci_test;" -U postgres
 script:
-  - coverage run --source=misago setup.py test
+  - coverage run --source=pytest
 after_success:
   - coveralls

+ 0 - 1
setup.py

@@ -38,7 +38,6 @@ setup(
     install_requires=REQUIREMENTS,
     packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
     include_package_data=True,
-    test_suite="pytest",
     classifiers=[
         'Development Status :: 4 - Beta',
         'Environment :: Web Environment',