From 13bc976fcb6cbda74df02d33044677ea9d6ab86b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 11 Oct 2021 18:47:16 +0200 Subject: [PATCH] Reconfigure CI to test on all branches (#374) * Reconfigure CI to test on all branches * :fire: Travis CI --- .github/workflows/test.yml | 11 +++-------- .travis.yml | 22 ---------------------- README.md | 1 - 3 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 .travis.yml 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 - 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 657db8e2..92997f62 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.