diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index fe80be6c33..8148625085 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -1,12 +1,13 @@ name: Pull Requests on: + push: pull_request: - + concurrency: # Only run once for latest commit per ref and cancel other (previous) runs. group: ci-${{ github.ref }} - cancel-in-progress: true + cancel-in-progress: true jobs: build: @@ -15,25 +16,25 @@ jobs: strategy: matrix: jdk: [ 11, 17 ] - name: Check / Tests (JDK ${{ matrix.jdk }}) + name: Check / Tests (JDK ${{ matrix.jdk }}) steps: - name: Checkout uses: actions/checkout@v2 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 - + - name: Set up python 2 uses: actions/setup-python@v2 with: python-version: '2.x' architecture: 'x64' - + - name: Set up JDK ${{ matrix.jdk }} uses: actions/setup-java@v2 with: java-version: ${{ matrix.jdk }} distribution: 'adopt' - + - name: Build with Ant run: ant -buildfile ./framework/build.xml test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 004ed9fda7..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -sudo: required -dist: trusty -language: java -jdk: - - openjdk11 -install: -- sudo apt-get install ant-optional -addons: - hosts: - - myshorthost - hostname: myshorthost - -script: -- ant -buildfile ./framework/build.xml test - -after_failure: - find samples-and-tests -name '*.failed.html' -exec echo {} \; -exec cat {} \; - -notifications: - webhooks: - urls: - - https://webhooks.gitter.im/e/6da3b55e59cded84b8bd - on_success: always - on_failure: always - email: - on_success: change - on_failure: always