|
| 1 | +{ |
| 2 | + "name": "aws-iot-device-sdk-python-v2", |
| 3 | + "hosts": { |
| 4 | + "al2012": { |
| 5 | + "enabled": false, |
| 6 | + "_comment": "al2012 can't currently pull builder.py from github. SSL: CERTIFICATE_VERIFY_FAILED" |
| 7 | + }, |
| 8 | + "linux": { |
| 9 | + "architectures": { |
| 10 | + "x86": { |
| 11 | + "enabled": false, |
| 12 | + "_comment": "this 'x86' machine actually uses 64bit python, no point in running it" |
| 13 | + } |
| 14 | + } |
| 15 | + }, |
| 16 | + "windows": { |
| 17 | + "architectures": { |
| 18 | + "x86": { |
| 19 | + "enabled": false, |
| 20 | + "_comment": "this 'x86' machine actually uses 64bit python, no point in running it" |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + "manylinux": { |
| 25 | + "post_build_steps": [ |
| 26 | + ["echo", "------ Python 3.6 ------"], |
| 27 | + ["/opt/python/cp36-cp36m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 28 | + ["/opt/python/cp36-cp36m/bin/python", "-m", "pip", "install", ".", "--verbose"], |
| 29 | + ["/opt/python/cp36-cp36m/bin/python", "-m", "pip", "install", "boto3", "autopep8"], |
| 30 | + ["/opt/python/cp36-cp36m/bin/python", "-m", "unittest", "discover", "--verbose"], |
| 31 | + ["echo", "------ Python 3.5 ------"], |
| 32 | + ["/opt/python/cp35-cp35m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 33 | + ["/opt/python/cp35-cp35m/bin/python", "-m", "pip", "install", ".", "--verbose"], |
| 34 | + ["/opt/python/cp35-cp35m/bin/python", "-m", "pip", "install", "boto3", "autopep8"], |
| 35 | + ["/opt/python/cp35-cp35m/bin/python", "-m", "unittest", "discover", "--verbose"], |
| 36 | + ["echo", "------ Python 3.4 ------"], |
| 37 | + ["/opt/python/cp34-cp34m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 38 | + ["/opt/python/cp34-cp34m/bin/python", "-m", "pip", "install", ".", "--verbose"], |
| 39 | + ["/opt/python/cp34-cp34m/bin/python", "-m", "pip", "install", "boto3", "autopep8"], |
| 40 | + ["/opt/python/cp34-cp34m/bin/python", "-m", "unittest", "discover", "--verbose"], |
| 41 | + ["echo", "------ Python 2.7 narrow-unicode ------"], |
| 42 | + ["/opt/python/cp27-cp27m/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 43 | + ["/opt/python/cp27-cp27m/bin/python", "-m", "pip", "install", ".", "--verbose"], |
| 44 | + ["/opt/python/cp27-cp27m/bin/python", "-m", "pip", "install", "boto3", "autopep8"], |
| 45 | + ["/opt/python/cp27-cp27m/bin/python", "-m", "unittest", "discover", "--verbose"], |
| 46 | + ["echo", "------ Python 2.7 wide-unicode ------"], |
| 47 | + ["/opt/python/cp27-cp27mu/bin/python", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 48 | + ["/opt/python/cp27-cp27mu/bin/python", "-m", "pip", "install", ".", "--verbose"], |
| 49 | + ["/opt/python/cp27-cp27mu/bin/python", "-m", "pip", "install", "boto3", "autopep8"], |
| 50 | + ["/opt/python/cp27-cp27mu/bin/python", "-m", "unittest", "discover", "--verbose"] |
| 51 | + ], |
| 52 | + "run_tests": false, |
| 53 | + "_comment": "manylinux has all its own build steps, turn off 'tests' which is where normal build steps are declared. using data to program sucks" |
| 54 | + } |
| 55 | + }, |
| 56 | + "targets": { |
| 57 | + "android": { |
| 58 | + "enabled": false, |
| 59 | + "_comment": "disabled until we have a reason to support python on android" |
| 60 | + } |
| 61 | + }, |
| 62 | + "compilers": { |
| 63 | + "_comment": "don't need compiler variants because awsiot is pure python. It will use precompiled awscrt wheels pulled from pip.", |
| 64 | + "clang": { "enabled": false }, |
| 65 | + "gcc": { |
| 66 | + "versions": { |
| 67 | + "_comment": "run gcc 4.8 because that's what the linux wheels were made with", |
| 68 | + "5": { "enabled": false }, |
| 69 | + "6": { "enabled": false }, |
| 70 | + "7": { "enabled": false }, |
| 71 | + "8": { "enabled": false } |
| 72 | + } |
| 73 | + }, |
| 74 | + "msvc": { |
| 75 | + "versions": { |
| 76 | + "_comment": "run msvc 2015 because that's what the windows wheels were made with", |
| 77 | + "2017": { "enabled": false } |
| 78 | + } |
| 79 | + } |
| 80 | + }, |
| 81 | + "upstream": [], |
| 82 | + "downstream": [], |
| 83 | + "_comment": "doing everything in 'test' step so that manylinux can turn off tests and do its stuff in the 'post_build_step'. using data to program really sucks", |
| 84 | + "build": [ |
| 85 | + ["{python}", "-c", "print('ignore this fake build step')"] |
| 86 | + ], |
| 87 | + "test": [ |
| 88 | + ["{python}", "-m", "pip", "install", "--upgrade", "pip", "setuptools"], |
| 89 | + ["{python}", "-m", "pip", "install", ".", "--verbose"], |
| 90 | + ["{python}", "-m", "pip", "install", "boto3", "autopep8"], |
| 91 | + ["{python}", "-m", "unittest", "discover", "--verbose"] |
| 92 | + ] |
| 93 | +} |
0 commit comments