Add circle configuration
This commit is contained in:
committed by
Jesse Zoldak
parent
009e8a1050
commit
ba5da45141
12
circle.yml
Normal file
12
circle.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
dependencies:
|
||||
override:
|
||||
- pip install setuptools==0.6c11
|
||||
- pip install distribute==0.6.49
|
||||
- pip install pbr==0.9.0
|
||||
|
||||
- paver install_prereqs
|
||||
|
||||
test:
|
||||
override:
|
||||
- ./scripts/circle.sh:
|
||||
parallel: true
|
||||
15
scripts/circle.sh
Executable file
15
scripts/circle.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
case $CIRCLE_NODE_INDEX in
|
||||
0) paver test_lib --extra_args="--with-flaky" --cov_args="-p" ;;
|
||||
|
||||
1) paver test_system -s cms --extra_args="--with-flaky --with-xunit" --cov_args="-p" ;;
|
||||
|
||||
2) paver test_system -s lms --extra_args="--with-flaky --with-xunit" --cov_args="-p" ;;
|
||||
esac
|
||||
|
||||
RET=$?
|
||||
|
||||
cp -r reports/. $CIRCLE_TEST_REPORTS
|
||||
|
||||
exit $RET
|
||||
Reference in New Issue
Block a user