Skip to content

Commit 73a45f4

Browse files
committed
Add github CI
1 parent b688b05 commit 73a45f4

File tree

5 files changed

+48
-7
lines changed

5 files changed

+48
-7
lines changed

.github/workflows/ant.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Java Ant CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up JDK 11
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: 11
19+
- name: Build with Ant
20+
run: ant -noinput -buildfile build.xml dist
21+
- name: Run tests
22+
timeout-minutes: 10
23+
run: ant -noinput -buildfile build.xml test

.github/workflows/maven.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Java Maven CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up JDK 11
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: 11
19+
- name: Build with Maven
20+
run: mvn compile
21+
- name: Run tests with Maven
22+
timeout-minutes: 10
23+
run: mvn test

.travis.yml

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

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<attribute name="Class-Path" value="${manifest_cp}"/>
4141
<attribute name="Implementation-Vendor" value="io.ipfs"/>
4242
<attribute name="Implementation-Title" value="multiaddr"/>
43-
<attribute name="Implementation-Version" value="1.4.0"/>
43+
<attribute name="Implementation-Version" value="1.4.2"/>
4444
</manifest>
4545
</jar>
4646
</target>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.multiformats</groupId>
66
<artifactId>java-multiaddr</artifactId>
7-
<version>v1.4.1</version>
7+
<version>v1.4.2</version>
88

99
<name>multiaddr</name>
1010
<url>https://github.com/multiformats/java-multiaddr</url>

0 commit comments

Comments
 (0)