Skip to content

Commit 6142546

Browse files
committed
Switch from Travis CI to GitHub Actions for CI pipeline.
Replaced the deprecated Travis CI configuration with a GitHub Actions workflow. Updated the build status badge in the README to reflect the new CI provider. This transition modernizes the CI setup and ensures future maintainability.
1 parent 711c018 commit 6142546

3 files changed

Lines changed: 32 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Set up JDK 11
17+
uses: actions/setup-java@v2
18+
with:
19+
java-version: '11'
20+
distribution: 'adopt'
21+
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x gradlew
24+
25+
- name: Build with Gradle
26+
run: ./gradlew build
27+
28+
- name: Run tests
29+
run: ./gradlew test

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# parserCombinators [![Build Status](https://travis-ci.org/anlun/parserCombinators.svg?branch=master)](https://travis-ci.org/anlun/parserCombinators)
1+
# parserCombinators ![GitHub CI](https://github.com/anlun/parserCombinators/workflows/CI/badge.svg)
2+
3+
The parser combinator library written in Kotlin.
24

3-
The parser combinator library written on Kotlin.
4-
55
# Build instruction:
66

77
* Install [Gradle](https://gradle.org)

0 commit comments

Comments
 (0)