diff --git a/.travis.yml b/.travis.yml
index 0b9e97d2a200fa2d97f3d5bcc341e154d1dc5d72..f5f84dacbd40efdc4beaa56ec239a15ac0145e76 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,6 +27,7 @@ matrix:
       env: MAGENTO_VERSION=2.3
 
 before_install:
+  - composer self-update --1
   - git clone --depth=50 --branch=$MAGENTO_VERSION https://github.com/magento/magento2.git /tmp/magento
   - mysql -uroot -e 'SET @@global.sql_mode = NO_ENGINE_SUBSTITUTION; CREATE DATABASE magento_integration_tests;'
   - mv $(pwd)/install-config-mysql.travis.$MAGENTO_VERSION.php /tmp/magento/dev/tests/integration/etc/install-config-mysql.php