Skip to content

Commit

Permalink
update go version on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mougams committed Aug 22, 2024
1 parent 8f05dde commit 8bf3541
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/scripts/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
set -x
set -e

#sudo pip uninstall docker
#sudo pip install 'urllib3<2'
#sudo pip install docker==6.1.3
#sudo pip install docker-compose
sudo curl -Lo /usr/bin/docker-compose https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64
sudo chmod 755 /usr/bin/docker-compose
go run .github/scripts/prepare/main.go
sleep 20

go test tests/*.go
result=$?

go run .github/scripts/cleanup/main.go
exit $result
exit $result
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: go
sudo: required

go:
- "1.12.7"
- "1.22"

services:
- docker
Expand Down

0 comments on commit 8bf3541

Please sign in to comment.