Skip to content

Commit

Permalink
Switch from Travis to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Nov 8, 2020
1 parent e8caa66 commit 3813ae2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,20 @@
name: GitHub CI

on: [push]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: jdk setup
uses: actions/setup-java@v1
with:
java-version: 11
# - name: unit test
# run: ./mvnw --batch-mode --activate-profiles indy clean test
# - name: integration test
# run: ./mvnw --batch-mode --activate-profiles indy -Dmaven.test.skip=true clean install invoker:install invoker:run
- name: full test
run: ./mvnw --batch-mode --activate-profiles indy clean install invoker:install invoker:run
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion integrationTest.groovy → integrationTestSuite.groovy
Expand Up @@ -44,7 +44,7 @@ for (int i = 0; i < groovyVersions.size(); i++) {
quietlyRunCommand "${mvn()} -B clean"

void testVersion() {
def exitCode = runCommand "${mvn()} -B -P ${profiles} -Dinvoker.streamLogs=true ${properties} invoker:run"
def exitCode = runCommand "${mvn()} --batch-mode --activate-profiles ${profiles} -Dinvoker.streamLogs=true ${properties} invoker:run"
os.flush()
os.close()
if (exitCode != 0) {
Expand Down

0 comments on commit 3813ae2

Please sign in to comment.