summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 4 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 13d0d7a5..4eaa0c98 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,10 @@ sudo: required
go:
- "1.11.x"
+env:
+ - GO111MODULE=on
+
before_install:
- - go version
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.0-cli
@@ -15,13 +17,7 @@ before_install:
- composer self-update
install:
- - go get "github.com/spiral/roadrunner"
- - go get -u "github.com/spiral/goridge"
- - go get -u "github.com/sirupsen/logrus"
- - go get -u "github.com/pkg/errors"
- - go get -u "github.com/stretchr/testify/assert"
- - go get -u "github.com/shirou/gopsutil/process"
- - go get -u "golang.org/x/net/http2"
+ - go mod download
- composer install --no-interaction --prefer-source --ignore-platform-reqs
script:
@@ -45,7 +41,6 @@ jobs:
- stage: Test
env: "PHP=7.0"
before_install:
- - go version
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.0-cli
@@ -55,7 +50,6 @@ jobs:
- stage: Test
env: "PHP=7.1"
before_install:
- - go version
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.1-cli
@@ -65,7 +59,6 @@ jobs:
- stage: Test
env: "PHP=7.2"
before_install:
- - go version
- sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
- sudo apt-get install -y php7.2-cli