Browse Source

ci: Remove Java 7 build

pull/1328/merge
Florian Zschocke 2 years ago
parent
commit
113fce858f
2 changed files with 24 additions and 22 deletions
  1. 24
    21
      .github/workflows/ci-build.yml
  2. 0
    1
      .travis.yml

+ 24
- 21
.github/workflows/ci-build.yml View File

name: Continous build - build and test on every push
name: Continous build on every push


on: on:
push: push:
- gh-pages - gh-pages


jobs: jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}
build_linux:
name: Linux build and test
runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest]
java-version: [8, 11] java-version: [8, 11]
steps: steps:
with: with:
java-version: ${{ matrix.java-version }} java-version: ${{ matrix.java-version }}


- name: Setup Moxie
run: |
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
tar -xzf moxie+ant-0.9.4.tar.gz
moxie-0.9.4/bin/moxie -version

- name: Report Java version - name: Report Java version
run: | run: |
java -version java -version
javac -version javac -version


- name: Build with Ant
run: ant test
- name: Build with Moxie
run: moxie-0.9.4/bin/moxie test


build_windows:
name: Windows build and test
runs-on: windows-latest
strategy:
matrix:
java-version: [8, 11]


build_j7:
name: Build and test on Java 7
runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
with: with:
submodules: true submodules: true


- name: Setup Java 7
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 7
java-version: ${{ matrix.java-version }}


- name: Report Java version - name: Report Java version
run: | run: |
java -version java -version
javac -version javac -version


- name: Setup Moxie
run: |
wget http://gitblit.github.io/moxie/maven/com/gitblit/moxie/moxie+ant/0.9.4/moxie+ant-0.9.4.tar.gz
tar -xzf moxie+ant-0.9.4.tar.gz
moxie-0.9.4/bin/moxie -version

- name: Build with Moxie
run: moxie-0.9.4/bin/moxie test
- name: Build with Ant
run: ant test

+ 0
- 1
.travis.yml View File

language: java language: java


jdk: jdk:
- openjdk7
- openjdk8 - openjdk8
- oraclejdk11 - oraclejdk11

Loading…
Cancel
Save