mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-21 22:23:23 +02:00
Merge pull request #1202 from FearlessTobi/port-3825
Port #3825 from Citra: "travis: share environment variables with Docker"
This commit is contained in:
commit
42ef40884f
12
.travis/common/travis-ci.env
Normal file
12
.travis/common/travis-ci.env
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# List of environment variables to be shared with Docker containers
|
||||||
|
CI
|
||||||
|
TRAVIS
|
||||||
|
CONTINUOUS_INTEGRATION
|
||||||
|
TRAVIS_BRANCH
|
||||||
|
TRAVIS_BUILD_ID
|
||||||
|
TRAVIS_BUILD_NUMBER
|
||||||
|
TRAVIS_COMMIT
|
||||||
|
TRAVIS_JOB_ID
|
||||||
|
TRAVIS_JOB_NUMBER
|
||||||
|
TRAVIS_REPO_SLUG
|
||||||
|
TRAVIS_TAG
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
docker run -e CCACHE_DIR=/ccache -v $HOME/.ccache:/ccache -v $(pwd):/yuzu ubuntu:18.04 /bin/bash /yuzu/.travis/linux/docker.sh
|
docker run -e CCACHE_DIR=/ccache -v $HOME/.ccache:/ccache --env-file .travis/common/travis-ci.env -v $(pwd):/yuzu ubuntu:18.04 /bin/bash /yuzu/.travis/linux/docker.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user