From f6e8b65a215ad02a170ce24b823e920e931dea00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 16 Sep 2021 17:52:10 +0200 Subject: [PATCH 1/2] Reconfigure CI to test on all branches --- .github/workflows/test.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 551572e0..18ca430c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,6 @@ name: Test -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push, pull_request] env: GO111MODULE: on @@ -12,15 +8,15 @@ env: jobs: test: strategy: + fail-fast: false matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.platform }} + runs-on: ${{ matrix.platform }} steps: - name: Set up Go 1.13 uses: actions/setup-go@v2 with: go-version: ^1.13 - id: go - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -32,4 +28,3 @@ jobs: - name: Run Tests run: run tests - From 18e7f07df365eeb78618b1e6204dad6bd498b31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Thu, 16 Sep 2021 18:41:46 +0200 Subject: [PATCH 2/2] :fire: Travis CI --- .travis.yml | 22 ---------------------- README.md | 1 - 2 files changed, 23 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f96db1ac..00000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: go - -go: - - 1.12 - -os: - - linux - - linux-ppc64le - - osx - - windows - -go_import_path: github.com/AlecAivazis/survey/v2 - -before_install: - - go get github.com/alecaivazis/run - -install: - - run install-deps - -script: - - run tests - # - run autoplay-tests diff --git a/README.md b/README.md index 5ab410e3..abc5b97c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Survey -[![Build Status](https://travis-ci.org/AlecAivazis/survey.svg?branch=feature%2Fpretty)](https://travis-ci.org/AlecAivazis/survey) [![GoDoc](http://img.shields.io/badge/godoc-reference-5272B4.svg)](https://pkg.go.dev/github.com/AlecAivazis/survey/v2) A library for building interactive and accessible prompts on terminals supporting ANSI escape sequences.