File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+ env :
3
+ variables :
4
+ run_pytest_pytorch : " enable"
5
+ run_pytest_mxnet : " enable"
6
+ run_pytest_tensorflow : " enable"
7
+ run_pytest_xgboost : " enable"
8
+ run_integration_pytest_pytorch : " enable"
9
+ run_integration_pytest_mxnet : " enable"
10
+ run_integration_pytest_tensorflow : " enable"
11
+ run_integration_pytest_xgboost : " enable"
12
+ zero_code_change_test : " disable"
13
+ phases :
14
+ install :
15
+ commands :
16
+ - apt-get update
17
+ - apt-get install sudo -qq -o=Dpkg::Use-Pty=0
18
+ - sudo apt-get install unzip -qq -o=Dpkg::Use-Pty=0
19
+ - cd $CODEBUILD_SRC_DIR && chmod +x config/protoc_downloader.sh && ./config/protoc_downloader.sh
20
+ - pip install --upgrade pip==19.3.1
21
+ - pip install -q pytest pytest-cov wheel pyYaml pytest-html keras==2.3.1 mxnet torch xgboost pre-commit tensorflow_datasets torchvision
22
+ - cd $CODEBUILD_SRC_DIR && chmod +x config/install_smdebug.sh && chmod +x config/check_smdebug_install.sh && ./config/install_smdebug.sh;
23
+
24
+ build :
25
+ commands :
26
+ - cd $CODEBUILD_SRC_DIR && chmod +x config/tests.sh && PYTHONPATH=. ./config/tests.sh
27
+ - cd $CODEBUILD_SRC_DIR_RULES && chmod +x config/tests.sh && PYTHONPATH=. ./config/tests.sh
28
+
29
+ post_build :
30
+ commands :
31
+ - if [ "$CODEBUILD_BUILD_SUCCEEDING" -eq 0 ]; then echo "ERROR BUILD FAILED " && exit 1 ; fi
32
+ - if [ "$CODEBUILD_BUILD_SUCCEEDING" -eq 1 ]; then echo "INFO BUILD SUCCEEDED !!! " ; fi
You can’t perform that action at this time.
0 commit comments