Skip to content

Commit a086185

Browse files
committed
Fix problem with using files created inside docker container
1 parent 489074d commit a086185

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ script:
1111
fi
1212
- if [[ "$TEST_ENV" = *llvm-6.0 ]]; then
1313
docker-compose build bindgen;
14+
find . -name target | xargs sudo rm -rf;
1415
scripts/docker-test.sh;
1516
fi
1617

scripts/docker-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ IFS=$'\n\t'
1212

1313
outdir="tests/target/docker-samples"
1414
rm -rf "$outdir"
15-
mkdir "$outdir"
15+
mkdir -p "$outdir"
1616

1717
for input in tests/samples/*.h; do
1818
name="$(basename "$input" .h)"

0 commit comments

Comments
 (0)