Browse Source

Tweak travis test script

rafalp 6 years ago
parent
commit
5c98b24ec2
1 changed files with 5 additions and 10 deletions
  1. 5 10
      .travis.yml

+ 5 - 10
.travis.yml

@@ -1,22 +1,17 @@
 dist: xenial
 dist: xenial
 language: python
 language: python
 python:
 python:
-  - "3.6"
+  - 3.6
 addons:
 addons:
-  postgresql: "9.4"
+  postgresql: 9.4
 install:
 install:
   - pip install -U pip setuptools
   - pip install -U pip setuptools
   - python setup.py install
   - python setup.py install
-  - pip install coveralls pytest-cov
+  - pip install coveralls pytest-cov black
 before_script:
 before_script:
   - psql -c "create database travis_ci_test;" -U postgres
   - psql -c "create database travis_ci_test;" -U postgres
 script:
 script:
   - pytest --cov=misago
   - pytest --cov=misago
+  - black --check devproject misago
 after_success:
 after_success:
-  - coveralls
-matrix:
-  include:
-    - python: 3.6
-      script:
-        - pip install black
-        - black --check devproject misago
+  - coveralls