From cccd08781cfed5cd84ed4759605545d7a0adfe2e Mon Sep 17 00:00:00 2001 From: Gabor Szarnyas Date: Sun, 4 Jul 2021 23:29:07 +0200 Subject: [PATCH] Migrate from Travis to GH Actions --- .github/workflows/compile.yml | 15 +++++++++++++++ .travis.yml | 21 --------------------- 2 files changed, 15 insertions(+), 21 deletions(-) create mode 100644 .github/workflows/compile.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 000000000..78783eb70 --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,15 @@ +on: [push] +jobs: + build_and_test: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v1 + - uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '8' + - name: Build and test + run: | + scripts/get-neo4j.sh + ./gradlew inits build -x :trainbenchmark-generator-sql:test -x :trainbenchmark-tool-mysql:test -x :trainbenchmark-tool-sqlite:test --stacktrace --continue diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 40a038a86..000000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -language: java -jdk: -- openjdk8 -env: - global: - - GH_REF: github.com/FTSRG/trainbenchmark.git - - secure: dVBQFFLIQ9TMySqOGLCGUQ9IREAw9F3LgfLQyyvzg4s+xeVdPxBciOLfV3+FtXrC6A4VM3oKTuvpMbkEjas8G3iiQELiZrtDP+uHhNWejyRnJ7AFBUppDjbPiIlAvjGT1wjdV0zf7RjdEl/TjAp0/xR0Ktesevtt8kMSV+buSgk= -install: true -script: -- scripts/get-neo4j.sh -- ./gradlew inits build -x :trainbenchmark-generator-sql:test -x :trainbenchmark-tool-mysql:test -x :trainbenchmark-tool-sqlite:test --stacktrace --continue -- scripts/deploy.sh -notifications: - slack: ftsrg:YMFDeJB1YkOli9BXOKvtoB1Y - email: false - on_success: change - on_failure: always -branches: - except: - - ingraph -