Skip to content

Commit 737e12e

Browse files
committed
Moved over Vonage GHA and removed Travis
1 parent 0a34aad commit 737e12e

File tree

2 files changed

+40
-23
lines changed

2 files changed

+40
-23
lines changed

.github/workflows/build.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Java CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
java: [ 8, 8.0.x, 9.0.x, 11.0.x, 14 ]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
17+
steps:
18+
- name: Checkout the repo
19+
uses: actions/checkout@v2
20+
21+
- name: Setup Java
22+
uses: actions/setup-java@v1
23+
with:
24+
java-version: ${{matrix.java}}
25+
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x gradlew
28+
29+
- name: Cache Gradle packages
30+
uses: actions/cache@v2
31+
with:
32+
path: ~/.gradle/caches
33+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
34+
restore-keys: ${{ runner.os }}-gradle
35+
36+
- name: Build with Gradle
37+
run: ./gradlew build
38+
39+
- name: Run Codecov
40+
uses: codecov/codecov-action@v1

.travis.yml

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

0 commit comments

Comments
 (0)