Skip to content

Commit

Permalink
Move to docker-compose 2 for travisci (#593)
Browse files Browse the repository at this point in the history
* Update .travis.yml

* travis-ci fixes for docker-compose v2

and finally - a minor correction for spelling :-(
  • Loading branch information
RussH committed Mar 6, 2023
1 parent 8e99785 commit 8c32a7e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Expand Up @@ -3,7 +3,7 @@ services:
- docker

env:
COMPOSE_VERSION: 1.25.3
COMPOSE_VERSION: v2.16.0

before_install:
- sudo apt-get update -qq
Expand All @@ -15,13 +15,12 @@ before_install:
language: php
php:
- 7.2
- 7.3
- 7.4
script:
- composer self-update --2
- composer install
- ./vendor/bin/phpunit src/OpenCATS/Tests/UnitTests
- cd docker/; docker-compose -f docker-compose-test.yml up -d
- docker-compose -f docker-compose-test.yml exec php /var/www/public/test/runAllTests.sh
- cd docker/; docker-compose --compatibility -f docker-compose-test.yml up -d
- docker-compose --compatibility -f docker-compose-test.yml exec php /var/www/public/test/runAllTests.sh
- cd ..; ./ci/package-code.sh

deploy:
Expand Down

0 comments on commit 8c32a7e

Please sign in to comment.