diff --git a/.credentials.enc b/.credentials.enc deleted file mode 100644 index eede78e57d..0000000000 --- a/.credentials.enc +++ /dev/null @@ -1 +0,0 @@ -|y#DNNb"* 6?0'EWNX0$+O bR#oxqVcN@&KhF=#5@4ZYMtj:,Zϡx \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..0c8eed8662 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,21 @@ +name: CI +on: + pull_request: + push: +jobs: + test: + strategy: + fail-fast: false + matrix: + java: [11, 17, 21] + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup JDK + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: ${{ matrix.java }} + - name: Build and Test + run: sbt test \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 65d7d556cc..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,52 +0,0 @@ -language: scala -dist: bionic -sudo: false -scala: - - 2.11.12 - - 2.12.12 - - 2.13.2 -cache: - directories: - - '$HOME/node_modules' - - $HOME/.ivy2 -services: - - mongodb -jdk: - - openjdk8 -matrix: - include: - - scala: 2.12.12 - jdk: openjdk11 - env: DISABLE_PUBLISH=true - - scala: 2.12.12 - jdk: openjdk12 - env: DISABLE_PUBLISH=true - - scala: 2.13.2 - jdk: openjdk11 - env: DISABLE_PUBLISH=true - - scala: 2.13.2 - jdk: openjdk12 - env: DISABLE_PUBLISH=true -script: ./travis.sh -branches: - only: - - master - - /^release-branch-.*$/ -node_js: - - "4.1" -before_script: - - "cd web/webkit" - - "npm install" - - "cd -" -notifications: - webhooks: - urls: - - https://webhooks.gitter.im/e/85e4d8ae84e569f9c501 - on_success: always - on_failure: always - on_start: never - email: - recipients: - - lift-committers@googlegroups.com - on_success: change - on_failure: always diff --git a/travis.sh b/travis.sh deleted file mode 100755 index 5acd4c3e2a..0000000000 --- a/travis.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -set -e - -sbt "++$TRAVIS_SCALA_VERSION test" - -./npmsh - -if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ -z "$DISABLE_PUBLISH" ]; then - mkdir -p ~/.sbt/1.0/ - openssl aes-256-cbc -K $encrypted_a177bbd76133_key -iv $encrypted_a177bbd76133_iv -in .credentials.enc -out ~/.sbt/1.0/.credentials -d - - if [[ "$TRAVIS_SCALA_VERSION" =~ ^2.13 ]]; then - # we only have certain modules available for publishing in 2.13 - sbt ++$TRAVIS_SCALA_VERSION lift-webkit/publish lift-json/publish lift-actor/publish lift-json-ext/publish lift-record/publish lift-proto/publish lift-mapper/publish lift-common/publish lift-db/publish lift-markdown/publish lift-util/publish lift-testkit/publish lift-mongodb/publish lift-mongodb-record/publish lift-json-scalaz7/publish - else - sbt ++$TRAVIS_SCALA_VERSION publish - fi - - rm ~/.sbt/1.0/.credentials -fi