Created
March 7, 2019 06:10
-
-
Save yanak/1152fe3b2b6b024a8bbb72e01075c73c to your computer and use it in GitHub Desktop.
A AWS CodeBuild buildspec.yaml for Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.2 | |
phases: | |
pre_build: | |
commands: | |
- pip install -r my-api/requirements.txt | |
build: | |
commands: | |
- python -m unittest discover -s my-api | |
artifacts: | |
files: | |
- '**/*' | |
base-directory: my-api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment