summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-06-24 13:53:19 +0300
committerWolfy-J <[email protected]>2019-06-24 13:53:19 +0300
commit5a7569883ca7235f64e94d772e0445f2d522fcab (patch)
treed785fae506509dced53ee5c4ba8b3b557b733ed6 /.travis.yml
parent4182f60c833b644a785828e784386a95f690d5c8 (diff)
updated travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml58
1 files changed, 30 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
index 24aacbf4..fb1873e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,6 +24,7 @@ script:
- go test ./service/http -race -v -coverprofile=http.txt -covermode=atomic
- go test ./service/static -race -v -coverprofile=static.txt -covermode=atomic
- go test ./service/limit -race -v -coverprofile=limit.txt -covermode=atomic
+ - go test ./service/headers -race -v -coverprofile=headers.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash) -f lib.txt
@@ -34,34 +35,35 @@ after_success:
- bash <(curl -s https://codecov.io/bash) -f http.txt
- bash <(curl -s https://codecov.io/bash) -f static.txt
- bash <(curl -s https://codecov.io/bash) -f limit.txt
+ - bash <(curl -s https://codecov.io/bash) -f headers.txt
jobs:
include:
- - stage: Test
- env: "PHP=7.0"
- before_install:
- - sudo add-apt-repository -y ppa:ondrej/php
- - sudo apt-get update
- - sudo apt-get install -y php7.0-cli php7.0-curl
- - sudo cp `which php7.0` `which php`
- - stage: Test
- env: "PHP=7.1"
- before_install:
- - sudo add-apt-repository -y ppa:ondrej/php
- - sudo apt-get update
- - sudo apt-get install -y php7.1-cli php7.1-curl
- - sudo cp `which php7.1` `which php`
- - stage: Test
- env: "PHP=7.2"
- before_install:
- - sudo add-apt-repository -y ppa:ondrej/php
- - sudo apt-get update
- - sudo apt-get install -y php7.2-cli php7.2-curl
- - sudo cp `which php7.2` `which php`
- - 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 php7.3-curl
- - sudo cp `which php7.3` `which php` \ No newline at end of file
+ - stage: Test
+ env: "PHP=7.0"
+ before_install:
+ - sudo add-apt-repository -y ppa:ondrej/php
+ - sudo apt-get update
+ - sudo apt-get install -y php7.0-cli php7.0-curl
+ - sudo cp `which php7.0` `which php`
+ - stage: Test
+ env: "PHP=7.1"
+ before_install:
+ - sudo add-apt-repository -y ppa:ondrej/php
+ - sudo apt-get update
+ - sudo apt-get install -y php7.1-cli php7.1-curl
+ - sudo cp `which php7.1` `which php`
+ - stage: Test
+ env: "PHP=7.2"
+ before_install:
+ - sudo add-apt-repository -y ppa:ondrej/php
+ - sudo apt-get update
+ - sudo apt-get install -y php7.2-cli php7.2-curl
+ - sudo cp `which php7.2` `which php`
+ - 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 php7.3-curl
+ - sudo cp `which php7.3` `which php` \ No newline at end of file