mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 10:23:01 -06: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
2 changed files with 13 additions and 1 deletions
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 a new issue