Browse Source

fix travis.yml

Guénaël Muller 6 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
       before_install:
21
       before_install:
22
         - docker pull mailhog/mailhog
22
         - docker pull mailhog/mailhog
23
         - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
23
         - docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
24
+        - cd backend
24
       install:
25
       install:
25
         - pip install --upgrade pip setuptools
26
         - pip install --upgrade pip setuptools
26
         - pip install -e ".[testing]"
27
         - pip install -e ".[testing]"
27
         - pip install pytest-cov
28
         - pip install pytest-cov
28
         - pip install python-coveralls
29
         - pip install python-coveralls
29
 
30
 
31
+      before_script:
32
+       - cd backend
30
       script:
33
       script:
31
-       - backend/py.test --cov tracim_backend
34
+       - py.test --cov tracim_backend
32
 
35
 
33
       after_success:
36
       after_success:
34
         - coveralls
37
         - coveralls