Skip to content

Commit

Permalink
Create GH actions file, remove travis file.
Browse files Browse the repository at this point in the history
Fixes #502
  • Loading branch information
manovotn committed Jun 28, 2021
1 parent 6d00f71 commit 701b228
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 11 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Jakarta Contexts and Dependency Injection CI

on:
pull_request:
branches: [ master ]

jobs:
build:
name: "Build CDI - JDK ${{matrix.java.name}}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java:
- {
name: "11",
java-version: 11,
}
- {
name: "16",
java-version: 16,
}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v1.4.3
with:
java-version: ${{ matrix.java.java-version }}
- name: "Maven install"
run: |
mvn -Pstaging install -DskipTests=true -B -V
- name: "Maven test"
run: |
mvn -Pstaging test -B
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 701b228

Please sign in to comment.