docker run helper script (#6270)

This commit is contained in:
Daniel Agar
2017-01-08 13:45:28 -05:00
committed by GitHub
parent 7df3b4ae71
commit defaf7f5e5
4 changed files with 31 additions and 25 deletions
+2 -5
View File
@@ -14,15 +14,12 @@ dependencies:
pre:
- sudo pip install cpp-coveralls
- sudo apt-get install -y lcov
- gem install coveralls-lcov
test:
override:
- mkdir -p ~/.ccache
- make distclean
- PX4_DOCKER=1 make tests
- ./Tools/docker_run.sh 'make tests'
# copy test results for circleci
#- mkdir -p $CIRCLE_TEST_REPORTS/junit/ && cp ./build_posix_sitl_default/JUnitTestResults.xml build_unittest/test_detail.xml $CIRCLE_TEST_REPORTS/junit/
#- mkdir -p $CIRCLE_ARTIFACTS && cp -R coverage-html $CIRCLE_ARTIFACTS
# only post to coveralls if not a fork PR
#- if [ -z ${CIRCLE_PR_USERNAME}]; then cpp-coveralls -l coverage.info; fi
#- if [ -z ${CIRCLE_PR_USERNAME}]; then ./Tools/docker_run.sh 'cpp-coveralls -l coverage.info'; fi