]> git.agnieray.net Git - galette.git/commitdiff
Prevent use of composer 2
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 24 Oct 2020 15:54:57 +0000 (17:54 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 25 Oct 2020 07:49:00 +0000 (08:49 +0100)
.travis.yml

index 75298e0037b33d3f7c17d357b03bdc663726e8cf..69f2f33908d769000ab30f2bad057b2568139a72 100644 (file)
@@ -3,6 +3,7 @@ services:
   - postgresql
   - mysql
 before_script:
+  - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then composer self-update --rollback; fi
   - ./bin/install_deps
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS galette_tests;' -U postgres; fi"
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database galette_tests;' -U postgres; fi"