summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml58
-rw-r--r--Makefile1
2 files changed, 31 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
diff --git a/Makefile b/Makefile
index 43afb68d..c8327f98 100644
--- a/Makefile
+++ b/Makefile
@@ -18,3 +18,4 @@ test:
go test -v -race -cover ./service/http
go test -v -race -cover ./service/static
go test -v -race -cover ./service/limit
+ go test -v -race -cover ./service/headers