travis: use mkdir -p to avoid || true

This commit is contained in:
liushuyu 2018-04-13 20:30:04 -06:00
parent 2193e9b742
commit 0d3983bc66
No known key found for this signature in database
GPG key ID: 23D1CE4534419437
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash -ex #!/bin/bash -ex
mkdir "$HOME/.ccache" || true mkdir -p "$HOME/.ccache"
docker pull ubuntu:18.04 docker pull ubuntu:18.04
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache ubuntu:18.04 /bin/bash -ex /citra/.travis/linux-frozen/docker.sh docker run -e ENABLE_COMPATIBILITY_REPORTING -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache ubuntu:18.04 /bin/bash -ex /citra/.travis/linux-frozen/docker.sh

View file

@ -1,3 +1,3 @@
#!/bin/bash -ex #!/bin/bash -ex
mkdir "$HOME/.ccache" || true mkdir -p "$HOME/.ccache"
docker run -e ENABLE_COMPATIBILITY_REPORTING -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache ubuntu:18.04 /bin/bash -ex /citra/.travis/linux/docker.sh docker run -e ENABLE_COMPATIBILITY_REPORTING -v $(pwd):/citra -v "$HOME/.ccache":/root/.ccache ubuntu:18.04 /bin/bash -ex /citra/.travis/linux/docker.sh