Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1337-server committed Dec 31, 2020
1 parent 38b621d commit 96d446b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
dist: focal
language: python
python:
- 3.6
- 3.7
- 3.8
- 3.9
before_install:
- sudo apt-get install libgnutls28-dev
- python --version
- pip install -U pip
- pip install -U pytest
- pip install codecov
install:
- pip install -r lambda/requirements.txt # install package + test dependencies
script: pytest # run tests
install: "pip install -r lambda/requirements.txt"
script:
- flake8 --ignore=E501,W503 lambda
- coverage run lambda/lambda_function.py
after_success:
- codecov # submit coverage
- bash <(curl -s https://codecov.io/bash)
- codecov

0 comments on commit 96d446b

Please sign in to comment.