Skip to content

Commit

Permalink
Linked the checkout directory to a path accessible on the host
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Dec 23, 2017
1 parent 33a9e01 commit c9a4693
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ script:
- docker run -v $PWD/builds:/builds -w /root b6b ./ci_build.sh

after_success:
- ln -s $PWD /tmp/b6b
- cd builds/coverage; bash <(curl -s https://codecov.io/bash)

addons:
Expand Down
4 changes: 4 additions & 0 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# we want coverage data to point to source files at identical paths, inside and outside of the container
ln -s `pwd` /tmp/b6b
cd /tmp/b6b

export CFLAGS=-g
meson -Dwith_valgrind=true /builds/gcc
CC=clang meson -Dwith_valgrind=true /builds/clang
Expand Down

0 comments on commit c9a4693

Please sign in to comment.