diff options
author | Wolfy-J <[email protected]> | 2018-10-18 13:35:22 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-10-18 13:35:22 +0300 |
commit | b860e026b440b337d98326e2b95d48abae05c095 (patch) | |
tree | 8af33961d01423ffb039041b90973b3589ad8d2b /.travis.yml | |
parent | 71bc7a5df562d671ed3d5ffc0e6f8ee8c9832d26 (diff) |
- travis to use go mod
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 15 |
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 |