-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildspec.yml
43 lines (40 loc) · 1.05 KB
/
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
37
38
39
40
41
42
43
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.
run-as: ubuntu
runtime-versions:
python: 3.8
#commands:
# Install python and pip
#- sudo apt-get install -y python3
#- sudo apt-get install -y python3-pip
# install wheel and virtualenv
#- pip install -q wheel
#- pip install -q virtualenv
#pre_build:
#run-as: ubuntu
#commands:
#- python3 -m virtualenv venv
#- source venv/bin/activate
#- pip install -r requirements1.txt --yes
#build:
#commands:
#- pytest tests/unit/
#- pytest tests/integration/ -rfs
post_build:
commands:
- echo Build completed on `date`
artifacts:
files:
- '**/*'
name: wlist_source_code
cache:
paths:
- '/root/.cache/pip/**/*'