Skip to content

Commit 113fce8

Browse files
committed
ci: Remove Java 7 build
1 parent 7150f50 commit 113fce8

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

.github/workflows/ci-build.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Continous build - build and test on every push
1+
name: Continous build on every push
22

33
on:
44
push:
@@ -7,12 +7,11 @@ on:
77
- gh-pages
88

99
jobs:
10-
build:
11-
name: Build and test
12-
runs-on: ${{ matrix.os }}
10+
build_linux:
11+
name: Linux build and test
12+
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
os: [ubuntu-latest, windows-latest]
1615
java-version: [8, 11]
1716

1817
steps:
@@ -26,39 +25,43 @@ jobs:
2625
with:
2726
java-version: ${{ matrix.java-version }}
2827

28+
- name: Setup Moxie
29+
run: |
30+
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
31+
tar -xzf moxie+ant-0.9.4.tar.gz
32+
moxie-0.9.4/bin/moxie -version
33+
2934
- name: Report Java version
3035
run: |
3136
java -version
3237
javac -version
3338
34-
- name: Build with Ant
35-
run: ant test
39+
- name: Build with Moxie
40+
run: moxie-0.9.4/bin/moxie test
41+
42+
43+
build_windows:
44+
name: Windows build and test
45+
runs-on: windows-latest
46+
strategy:
47+
matrix:
48+
java-version: [8, 11]
3649

37-
build_j7:
38-
name: Build and test on Java 7
39-
runs-on: ubuntu-latest
40-
4150
steps:
4251
- name: Checkout
4352
uses: actions/checkout@v1
4453
with:
4554
submodules: true
4655

47-
- name: Setup Java 7
56+
- name: Setup Java ${{ matrix.java-version }}
4857
uses: actions/setup-java@v1
4958
with:
50-
java-version: 7
59+
java-version: ${{ matrix.java-version }}
5160

5261
- name: Report Java version
5362
run: |
5463
java -version
5564
javac -version
5665
57-
- name: Setup Moxie
58-
run: |
59-
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
60-
tar -xzf moxie+ant-0.9.4.tar.gz
61-
moxie-0.9.4/bin/moxie -version
62-
63-
- name: Build with Moxie
64-
run: moxie-0.9.4/bin/moxie test
66+
- name: Build with Ant
67+
run: ant test

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ dist: trusty
33
language: java
44

55
jdk:
6-
- openjdk7
76
- openjdk8
87
- oraclejdk11

0 commit comments

Comments
 (0)