circleci update to tolerate submodule changes (#5451)

- remove broken ccache setup
This commit is contained in:
Daniel Agar 2016-09-05 00:47:48 -04:00 committed by GitHub
parent 4a5eae23a2
commit f07cd13fe8
1 changed files with 9 additions and 4 deletions

View File

@ -4,17 +4,22 @@ machine:
checkout:
post:
# workaround for known git bug where attempting to fetch a missing commit fails early on the first try
- git submodule update --init || true
- git submodule sync --recursive
- git submodule update --init --recursive
## Customize dependencies
dependencies:
cache_directories:
- "~/.ccache"
pre:
- docker pull px4io/px4-dev-nuttx-gcc4.9
test:
override:
- docker run --rm -v `pwd`:`pwd`:rw -w=`pwd` -v $HOME/.ccache:$HOME/.ccache:rw -e CCACHE_DIR=$HOME/.ccache --user=$UID -it px4io/px4-dev-nuttx-gcc4.9 /bin/bash -c "ccache -z; make px4fmu-v4_default; ccache -s"
- docker run --rm -v `pwd`:`pwd`:rw -w=`pwd` --user=$UID -it px4io/px4-dev-nuttx-gcc4.9 /bin/bash -c "make quick_check"
general:
artifacts:
- "build_px4fmu-v2_default/parameters.xml"
- "build_px4fmu-v2_default/airframes.xml"
- "build_.*/src/firmware/nuttx/.*.px4"