| 1 |
version: 0.2 |
| 2 |
|
| 3 |
phases: |
| 4 |
install: |
| 5 |
commands: |
| 6 |
- sudo apt-get update -y |
| 7 |
- sudo apt-get install python3 python3-pip -y |
| 8 |
- python3 -m pip install --upgrade pip |
| 9 |
pre_build: |
| 10 |
commands: |
| 11 |
- export CC=gcc |
| 12 |
build: |
| 13 |
commands: |
| 14 |
- echo Build started on `date` |
| 15 |
- cd aws-crt-python |
| 16 |
- CURRENT_TAG_VERSION=$(git describe --tags | cut -f2 -dv) |
| 17 |
- python3 continuous-delivery/pip-install-with-retry.py --no-cache-dir -i https://testpypi.python.org/simple --user awscrt==$CURRENT_TAG_VERSION |
| 18 |
- python3 continuous-delivery/test-pip-install.py |
| 19 |
post_build: |
| 20 |
commands: |
| 21 |
- echo Build completed on `date` |
| 22 |
|