travis: share env vars with Docker

This commit is contained in:
liushuyu 2018-06-17 15:56:26 -06:00
parent 3a82c2eb3a
commit 4cd25d115d
No known key found for this signature in database
GPG key ID: 23D1CE4534419437

View file

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