summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-01-05 16:27:21 +0300
committerWolfy-J <[email protected]>2019-01-05 16:27:21 +0300
commitcb80e6567b1ec56efb53a3e9681296228905e3c1 (patch)
treea508ff5dab2c9ca6ea2790581443fca5b474c3ba /.travis.yml
parent380bfe47e027f1d776c5ad70a734923e5be2d7ce (diff)
travis be cool
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index a376dd51..044bfedd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,12 +12,11 @@ before_install:
- sudo cp `which php7.0` `which php`
- php -v
- composer self-update
+ - composer install --no-interaction --prefer-source --ignore-platform-reqs
install:
- export GO111MODULE=on
- go mod download
- - php -v
- - composer install --no-interaction --prefer-source --ignore-platform-reqs
script:
- go test -race -v -coverprofile=lib.txt -covermode=atomic
@@ -48,6 +47,7 @@ jobs:
- sudo cp `which php7.0` `which php`
- php -v
- composer self-update
+ - composer install --no-interaction --prefer-source --ignore-platform-reqs
- stage: Test
env: "PHP=7.1"
before_install:
@@ -57,6 +57,7 @@ jobs:
- sudo cp `which php7.1` `which php`
- php -v
- composer self-update
+ - composer install --no-interaction --prefer-source --ignore-platform-reqs
- stage: Test
env: "PHP=7.2"
before_install:
@@ -66,6 +67,7 @@ jobs:
- sudo cp `which php7.2` `which php`
- php -v
- composer self-update
+ - composer install --no-interaction --prefer-source --ignore-platform-reqs
- stage: Test
env: "PHP=7.3"
before_install:
@@ -75,6 +77,7 @@ jobs:
- sudo cp `which php7.3` `which php`
- php -v
- composer self-update
+ - composer install --no-interaction --prefer-source --ignore-platform-reqs
- stage: Test
env: "PHP=7.1 ZEND_DIACTOROS=1.x"
before_install:
@@ -84,9 +87,6 @@ jobs:
- sudo cp `which php7.1` `which php`
- php -v
- composer self-update
- install:
- - export GO111MODULE=on
- - go mod download
- composer install --no-interaction --prefer-source --ignore-platform-reqs
- composer require zendframework/zend-diactoros:~1.0
- stage: Test
@@ -98,8 +98,5 @@ jobs:
- sudo cp `which php7.1` `which php`
- php -v
- composer self-update
- install:
- - export GO111MODULE=on
- - go mod download
- composer install --no-interaction --prefer-source --ignore-platform-reqs
- composer require zendframework/zend-diactoros:~2.0 \ No newline at end of file