Skip to content

Commit bfa4516

Browse files
committed
Switch from Travis-CI to GitHub Actions
1 parent 3b49f4f commit bfa4516

File tree

4 files changed

+31
-48
lines changed

4 files changed

+31
-48
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
name: Build and Test (${{ matrix.os }} / OpenJDK ${{ matrix.jdk }})
6+
strategy:
7+
fail-fast: true
8+
matrix:
9+
jdk: ['8', '11']
10+
os: [ubuntu-latest]
11+
runs-on: ${{ matrix.os }}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK ${{ matrix.jdk }}
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: ${{ matrix.jdk }}
18+
- name: Cache Maven packages
19+
uses: actions/cache@v2
20+
with:
21+
path: ~/.m2
22+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: ${{ runner.os }}-m2
24+
- name: Maven Build
25+
run: mvn clean package -DskipTests
26+
- name: Test
27+
env:
28+
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
29+
run: mvn verify

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# eXist-db Documentation
2-
[![Build Status](https://travis-ci.com/eXist-db/documentation.svg?branch=master)](https://travis-ci.com/eXist-db/documentation)
2+
[![Build Status](https://github.com/eXist-db/documentation/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/eXist-db/documentation/actions/workflows/ci.yml)
33
[![Docbook version](https://img.shields.io/badge/docbook-5.1-19a5a4.svg)](http://docbook.org/xml/5.1/)
44
[![eXist-db version](https://img.shields.io/badge/eXist_db-5.2.0-blue.svg)](http://www.exist-db.org/exist/apps/homepage/index.html)
55

cypress.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"screenshotsFolder": "src/test/cypress/screenshots",
1010
"supportFile": "src/test/cypress/support/index.js",
1111
"videosFolder": "src/test/cypress/videos",
12-
"projectId": "h8zx19"
12+
"projectId": "wgr8uu"
1313
}

0 commit comments

Comments
 (0)