Skip to content

Commit

Permalink
feat(build): Update travis distribution in CI file (#123)
Browse files Browse the repository at this point in the history
* change travis dist

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>

* add npm install check to travis

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>

* real fix

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>

* change python version

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>

* remove pyenv, let it use default python version of 3.10

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>

---------

Signed-off-by: Michael Darmawan <michael.darmawan@ibm.com>
  • Loading branch information
MDarmawan committed Apr 16, 2024
1 parent d81a8cc commit 406a0f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go

dist: bionic
dist: jammy

go:
- 1.17.x
Expand All @@ -13,7 +13,6 @@ env:

before_install:
- sudo apt-get update
- pyenv global 3.8

before_script:
- GO111MODULE=off go get -u github.com/haya14busa/goverage
Expand All @@ -27,6 +26,9 @@ script:
- $GOPATH/bin/goverage -v -race -coverprofile=cover.out $(go list ./... | grep -v '/vendor|/scripts')
- go tool cover -func=cover.out
- go tool cover -html=cover.out -o=cover.html
# these steps are to make sure that node will properly install for semantic release.
- nvm install node
- npm install -g npm

# To enable semantic-release, uncomment these sections.
before_deploy:
Expand Down

0 comments on commit 406a0f3

Please sign in to comment.