Add circle configuration

This commit is contained in:
Bertrand Marron
2015-06-27 14:55:45 +02:00
committed by Jesse Zoldak
parent 009e8a1050
commit ba5da45141
2 changed files with 27 additions and 0 deletions

12
circle.yml Normal file
View 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
View 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