diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b31cdbf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: [push] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + go: [ '1.15', '1.14' ] + os: [ ubuntu-latest, macOS-latest, windows-latest ] + name: ${{ matrix.os }} Go ${{ matrix.go }} Tests + steps: + - uses: actions/checkout@v2 + - name: Setup go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go }} + - run: go test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ac89140..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -arch: - - amd64 - - ppc64le -language: go - -go: - - 1.x - -os: - - linux - - osx diff --git a/README.md b/README.md index 8212be7..1ec45b2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GoDotEnv [![Build Status](https://travis-ci.org/joho/godotenv.svg?branch=master)](https://travis-ci.org/joho/godotenv) [![Build status](https://ci.appveyor.com/api/projects/status/9v40vnfvvgde64u4?svg=true)](https://ci.appveyor.com/project/joho/godotenv) [![Go Report Card](https://goreportcard.com/badge/github.com/joho/godotenv)](https://goreportcard.com/report/github.com/joho/godotenv) +# GoDotEnv ![CI](https://github.com/joho/godotenv/workflows/CI/badge.svg) [![Go Report Card](https://goreportcard.com/badge/github.com/joho/godotenv)](https://goreportcard.com/report/github.com/joho/godotenv) A Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file)