Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.13' into 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Jun 24, 2021
2 parents 920a039 + 02d1633 commit 97ff94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ before_install:
- ./bin/.travis/trusty/update_docker.sh
# Internal auth token dedicated to testing with travis+composer on ezsystems repos, not for reuse!
- echo "{\"github-oauth\":{\"github.com\":\"d0285ed5c8644f30547572ead2ed897431c1fc09\"}}" > auth.json
# Disable XDebug for performance
- phpenv config-rm xdebug.ini
# Get latest composer build
- travis_retry composer selfupdate
Expand All @@ -98,14 +97,6 @@ before_script:
- if [ "${SYMFONY_CMD}" != "" ] ; then docker-compose exec --user www-data app sh -c "bin/console ${SYMFONY_CMD}" ; fi
- if [ "${SETUP_BEHAT_OPTS}" != "" ] ; then cd "$HOME/build/ezplatform"; docker-compose exec --user www-data app sh -c "bin/ezbehat $SETUP_BEHAT_OPTS" ; fi
#- docker ps
#- docker-compose logs

# Execute test command, need to use sh to get right exit code (docker/compose/issues/3379)
# Behat will use behat.yml which is a copy of behat.yml.dist with hostnames update by doc/docker/selenium.yml
script:
- if [ "${TEST_CMD}" != "" ] ; then cd "$HOME/build/ezplatform"; docker-compose exec --user www-data app sh -c "$TEST_CMD" ; fi
- if [ "${BEHAT_OPTS}" != "" ] ; then cd "$HOME/build/ezplatform"; docker-compose exec --user www-data app sh -c "bin/ezbehat $BEHAT_OPTS" ; fi


after_failure:
# Will show us the last bit of the log of container's main processes
Expand Down
5 changes: 5 additions & 0 deletions bin/.travis/trusty/setup_from_external_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ if [ "$COMPOSE_FILE" = "" ] ; then
exit 1
fi

if [[ -n "${DOCKER_PASSWORD}" ]]; then
echo "> Set up Docker credentials"
echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin
fi

echo "> Move '$REPO_DIR' to 'tmp_travis_folder'"
mv $REPO_DIR tmp_travis_folder
ls -al tmp_travis_folder
Expand Down

0 comments on commit 97ff94d

Please sign in to comment.