From c458a158208ab5de729d635941ef7bf7b91026e2 Mon Sep 17 00:00:00 2001 From: Akash <64683866+akamhy@users.noreply.github.com> Date: Mon, 20 Jul 2020 15:38:33 +0530 Subject: [PATCH] Update .travis.yml --- .travis.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13b78a9..23f1d2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,17 @@ language: python -python: - - "2.7" - - "3.6" - - "3.8" os: linux dist: xenial cache: pip -install: - - pip install pytest - - pip install coverage -before_script: - cd tests +python: + - 2.7 + - 3.6 + - 3.8 +before_install: + - python --version + - pip install -U pip + - pip install -U pytest + - pip install codecov script: - - pytest test_1.py - - coverage run -m pytest --cov=./ + - python -m pytest after_success: - - bash <(curl -s https://codecov.io/bash) + - python -m codecov