Skip to content

Commit 85c9ae7

Browse files
author
Eugene Leonovich
committed
Speed up travis builds, test on php 7.2 by default
1 parent c32dbdf commit 85c9ae7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sudo: required
22

3-
language: php
3+
language: bash
44

55
services:
66
- docker
@@ -11,8 +11,8 @@ env:
1111
- IMAGE='php:7.1-cli' TNT_CLIENT=pecl
1212
- IMAGE='php:5.6-cli' TNT_CLIENT=pure
1313
- IMAGE='php:7.0-cli' TNT_CLIENT=pure
14-
- IMAGE='php:7.1-cli' TNT_CLIENT=pure PHPUNIT_OPTS='--coverage-clover=coverage.clover'
15-
- IMAGE='php:7.2-cli' TNT_CLIENT=pure
14+
- IMAGE='php:7.1-cli' TNT_CLIENT=pure
15+
- IMAGE='php:7.2-cli' TNT_CLIENT=pure PHPUNIT_OPTS='--coverage-clover=coverage.clover'
1616

1717
install:
1818
- ./dockerfile.sh | tee /dev/tty | docker build -t queue -

dockerfile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
if [[ -z "$IMAGE" ]] ; then
4-
IMAGE='php:7.1-cli'
4+
IMAGE='php:7.2-cli'
55
fi
66

77
if [[ -z "$TNT_CLIENT" ]] ; then
@@ -32,7 +32,7 @@ FROM $IMAGE
3232
RUN apt-get update && \\
3333
apt-get install -y git curl zlib1g-dev${RUN_CMDS} && \\
3434
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \\
35-
composer global require 'phpunit/phpunit:^4.8|^5.0|^6.0'${RUN_POST_CMDS}
35+
composer global require 'phpunit/phpunit'${RUN_POST_CMDS}
3636
3737
ENV PATH=~/.composer/vendor/bin:\$PATH
3838
ENV TARANTOOL_HOST=tarantool TARANTOOL_PORT=3301

0 commit comments

Comments
 (0)