Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active January 28, 2019 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JayH5/f6167327c8cd59b8927b5734455f1ebc to your computer and use it in GitHub Desktop.
Save JayH5/f6167327c8cd59b8927b5734455f1ebc to your computer and use it in GitHub Desktop.
Example Python Travis file
dist: xenial
language: python
cache: pip
before_install:
- pip install --upgrade pip
install:
- pip install -r requirements/dev.txt
- pip install codecov
script:
- coverage run -m pytest
after_success:
- codecov
matrix:
include:
- python: '3.7'
- python: '3.6'
- python: '3.5'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment