We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a095c commit 2118e0cCopy full SHA for 2118e0c
.travis.yml
@@ -31,6 +31,13 @@ before_install:
31
- cp -R tests/Fixture/moodle-local_ci ../moodle-local_ci
32
- export PATH="$(cd bin; pwd):$(cd vendor/bin; pwd):$PATH"
33
- export TRAVIS_BUILD_DIR=$(cd ../moodle-local_ci; pwd)
34
+ - >
35
+ if [ -n "$DOCKER_USER" ] && [ -n "$DOCKER_TOKEN" ]; then
36
+ echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USER" --password-stdin
37
+ echo "Using authenticated connection (no pull limits)"
38
+ else
39
+ echo "Using unauthenticated docker (pull limits may apply). Setup DOCKER_USER and DOCKER_TOKEN if needed."
40
+ fi
41
42
install:
43
- moodle-plugin-ci install -vvv
0 commit comments