Skip to content

Commit 9f0e78e

Browse files
committedJan 9, 2020
Fix .travis.yml
1 parent b59d39a commit 9f0e78e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed
 

‎.travis.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,40 @@ cache:
99
- $HOME/.composer/cache
1010

1111
php:
12-
- 5.4
13-
- 5.5
1412
- 5.6
1513
- 7.0
1614
- 7.1
15+
- 7.2
1716
- hhvm
1817

1918
env:
2019
global:
2120
- TEST_COMMAND="composer test"
22-
- DOCKER_VERSION=1.12.0-0~trusty
21+
- DOCKER_VERSION=18.03.0~ce-0~ubuntu
2322

2423
matrix:
2524
allow_failures:
2625
- php: hhvm
2726
fast_finish: true
2827
include:
29-
- php: 5.4
28+
- php: 5.6
3029
sudo: required
3130
services:
32-
- docker
31+
- docker
3332
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
3433

3534
before_install:
36-
- sudo apt-cache madison docker-engine
37-
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-engine=${DOCKER_VERSION}
35+
- sudo apt-get update
36+
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
37+
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
38+
- sudo apt-get update
39+
- sudo apt-cache madison docker-ce
40+
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-ce=${DOCKER_VERSION}
3841
- travis_retry composer self-update
3942

4043
install:
41-
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
42-
- docker pull registry:latest
43-
- docker run -p 5000:5000 -d registry
44+
- travis_retry composer install
45+
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
4446

4547
script:
4648
- $TEST_COMMAND

0 commit comments

Comments
 (0)
Please sign in to comment.