Repository: pyenv-win/pyenv-win (language: python)

Issue:
travis-ci.org has migrated to travis-ci.com
@kirankotari I do not have credentials for travis, could you please migrate the project?

> Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on. 


Discussion / hints:
More info: https://docs.travis-ci.com/user/migrate/open-source-repository-migration

Fix patch:
diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh
new file mode 100644
index 00000000..adbe5663
--- /dev/null
+++ b/.github/scripts/build.sh
@@ -0,0 +1,15 @@
+export HOME="/d/a/pyenv-win/pyenv-win"
+export PYENV="$HOME/pyenv-win"
+export PYENV_HOME="$HOME/pyenv-win"
+export PATH="$PYENV/bin:$PYENV/shims:$PATH"
+
+pyenv --version
+pyenv update
+pyenv install -q 3.7.4
+pyenv global 3.7.4
+pyenv versions
+python --version
+pip install --user --upgrade pip
+pip install -r $HOME/requirements_dev.txt
+pyenv rehash
+PYTHONPATH=. python -m pytest -v -s --cache-clear --cov=pyenv-win $HOME/tests
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index c01c7c9e..41502126 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+.DS_Store
+
 # Byte-compiled / optimized / DLL files
 __pycache__/
 *.py[cod]
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index f796f23d..00000000
--- a/.travis.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-language: shell
-os: windows
-before_install:
-  - export PYENV="$TRAVIS_BUILD_DIR/pyenv-win"
-  - export PATH="$PYENV/bin:$PYENV/shims:$PATH"
-install:
-  - pyenv --version
-  - pyenv update
-  - pyenv install -q < $PYENV/../.python-version
-  - pyenv global < $PYENV/../.python-version
-  - pyenv versions
-  - python --version
-  - pip install -r requirements_dev.txt
-  - pyenv rehash
-script:
-  - PYTHONPATH=. python -m pytest -v -s tests
-after_success:
-  - coveralls
diff --git a/.version b/.version
index b4403c96..a0870bd7 100644
--- a/.version
+++ b/.version
@@ -1,1 +1,1 @@
-2.64.8
\ No newline at end of file
+2.64.9
\ No newline at end of file
diff --git a/README.md b/README.md
index 85ba60bc..fe933425 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ For existing python users, we support [installation via pip](#installation).
 
 Contributors and Interested people can join us on @[Slack](https://join.slack.com/t/pyenv/shared_invite/zt-f9ydwgyt-Fp8tehxqeCQi5mi77RxpGw). Your help keeps us motivated!
 
-![Build Status](https://travis-ci.org/pyenv-win/pyenv-win.svg?branch=master)
+[![pytest](https://github.com/pyenv-win/pyenv-win/actions/workflows/pytest.yml/badge.svg)](https://github.com/pyenv-win/pyenv-win/actions/workflows/pytest.yml)
 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
 [![GitHub issues open](https://img.shields.io/github/issues/pyenv-win/pyenv-win.svg?)](https://github.com/pyenv-win/pyenv-win/issues)
 [![Downloads](https://pepy.tech/badge/pyenv-win)](https://pepy.tech/project/pyenv-win)
@@ -222,6 +222,9 @@ Now follow the steps to "[finish the installation](#finish-the-installation)".
 
 ## Change Log
 
+### New in 2.64.9
+- Fix [#269] (https://github.com/pyenv-win/pyenv-win/issues/269): Migration from travis-ci to GitHub Actions
+
 ### New in 2.64.8
 - Fix [#198](https://github.com/pyenv-win/pyenv-win/issues/198): [PEP 514](https://www.python.org/dev/peps/pep-0514/) support (64 bits only, excluding pypy).
 
diff --git a/requirements_dev.txt b/requirements_dev.txt
index 6cbe087e..ab02b9d2 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -1,9 +1,6 @@
 pytest-cov==2.8.1
 pytest==5.3.0
 coveralls==1.7.0
-# This is needed to avoid ImportError: cannot import name 'Reporter' from 'coverage.report'
-# when Travis CI install requirements_dev.txt
-# See https://youtrack.jetbrains.com/issue/PY-40980
 coverage==4.5.4
 pathlib==1.0.1
 tempenv==0.2.0
\ No newline at end of file


Test patch:
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
new file mode 100644
index 00000000..46f89de5
--- /dev/null
+++ b/.github/workflows/pytest.yml
@@ -0,0 +1,26 @@
+name: pytest
+
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches: [ master ]
+
+  # Allows you to run this workflow manually from the Actions tab
+  workflow_dispatch:
+
+jobs:
+  build:
+    name: pyenv-win pytest
+    runs-on: windows-latest
+    env:
+      HOME: D:/a/pyenv-win/pyenv-win
+    steps:
+
+      - name: checkout
+        uses: actions/checkout@v2
+
+      - name: pytest bash script
+        run: ${{ env.HOME }}/.github/scripts/build.sh
+        shell: bash