-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathbuildspec.yml
36 lines (34 loc) · 902 Bytes
/
buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: 0.2
#env:
#variables:
# key: "There are no variables"
#parameter-store:
# key: "There are no variables"
phases:
install:
#If you use the Ubuntu standard image 2.0 or later, you must specify runtime-versions.
#If you specify runtime-versions and use an image other than Ubuntu standard image 2.0, the build fails.
runtime-versions:
python: 3.7
#commands:
# - There are no build commands
pre_build:
commands:
- pip install -r requirements.txt
- pip install -e .
build:
commands:
- pytest tests/unit/
- pytest tests/integration/ -rfs
post_build:
commands:
- python setup.py sdist bdist_wheel
#artifacts:
#files:
# - We don't currently preserve any artifacts
#name: $(date +%Y-%m-%d)
#discard-paths: yes
#base-directory: location
#cache:
#paths:
# - We don't currently cache anything