summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-01-05 16:36:15 +0300
committerWolfy-J <[email protected]>2019-01-05 16:36:15 +0300
commitc89067d0717c2b9441cf295817218cf847617004 (patch)
tree2ccf0aca0626c2abce26c0673e499a75459124d6 /.travis.yml
parentb6e965049132a4fee433af647cf6414c9e226cd7 (diff)
travis be cool
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 4 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml
index 348a69c5..54332ef6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,9 @@ go:
install:
- export GO111MODULE=on
- go mod download
+ - php -v
+ - wget https://raw.githubusercontent.com/composer/getcomposer.org/1b137f8bf6db3e79a38a5bc45324414a6b1f9df2/web/installer -O - -q | php -- --quiet
+ - php composer.phar install --no-interaction --prefer-source
script:
- go test -race -v -coverprofile=lib.txt -covermode=atomic
@@ -36,9 +39,6 @@ jobs:
- sudo apt-get update
- sudo apt-get install -y php7.0-cli
- sudo cp `which php7.0` `which php`
- - php -v
- - composer self-update
- - composer install --no-interaction --prefer-source
- stage: Test
env: "PHP=7.1"
before_install:
@@ -46,9 +46,6 @@ jobs:
- sudo apt-get update
- sudo apt-get install -y php7.1-cli
- sudo cp `which php7.1` `which php`
- - php -v
- - composer self-update
- - composer install --no-interaction --prefer-source
- stage: Test
env: "PHP=7.2"
before_install:
@@ -56,16 +53,10 @@ jobs:
- sudo apt-get update
- sudo apt-get install -y php7.2-cli
- sudo cp `which php7.2` `which php`
- - php -v
- - composer self-update
- - composer install --no-interaction --prefer-source
- stage: Test
env: "PHP=7.3"
before_install:
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.3-cli
- - sudo cp `which php7.3` `which php`
- - php -v
- - composer self-update
- - composer install --no-interaction --prefer-source \ No newline at end of file
+ - sudo cp `which php7.3` `which php` \ No newline at end of file