Browse Source

fix travis.yml

Guénaël Muller 5 years ago
parent
commit
92853657bc
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml View File

@@ -21,14 +21,17 @@ matrix:
21 21
       before_install:
22 22
         - docker pull mailhog/mailhog
23 23
         - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
24
+        - cd backend
24 25
       install:
25 26
         - pip install --upgrade pip setuptools
26 27
         - pip install -e ".[testing]"
27 28
         - pip install pytest-cov
28 29
         - pip install python-coveralls
29 30
 
31
+      before_script:
32
+       - cd backend
30 33
       script:
31
-       - backend/py.test --cov tracim_backend
34
+       - py.test --cov tracim_backend
32 35
 
33 36
       after_success:
34 37
         - coveralls