Skip to content

Instantly share code, notes, and snippets.

@JayH5
Created January 29, 2019 09:05
Show Gist options
  • Save JayH5/a37be46f3ff32a7d3ae53f88c5b104ee to your computer and use it in GitHub Desktop.
Save JayH5/a37be46f3ff32a7d3ae53f88c5b104ee to your computer and use it in GitHub Desktop.
Example environment variable flags
matrix:
include:
- python: '3.7'
env: COVERAGE=1
- python: '3.6'
- python: '3.5'
- python: '2.7'
env: COVERAGE=1
script:
- pytest ${COVERAGE:+--cov}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment