From cdeeedfed9ff1ee4b424f40335d1e648e7856faa Mon Sep 17 00:00:00 2001 From: Joey Takeda Date: Thu, 16 Nov 2023 05:23:08 -0800 Subject: [PATCH] Resolves #2465 (#2467) * Deletes deprecated .travis.yml file * Removes the Slack notifier action from the test action --- .github/workflows/test.yml | 11 +---------- .travis.yml | 24 ------------------------ 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b7583a5eda..0cbd6e1456 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,13 +34,4 @@ jobs: - name: Run tests from the Test directory run: | cd P5 - make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets - - - name: Slack Notification - if: always() - continue-on-error: true - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - SLACK_COLOR: ${{ job.status }} - MSG_MINIMAL: commit,actions url + make clean validate test XSL=${GITHUB_WORKSPACE}/Stylesheets \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7ed4394c10..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -sudo: required - -language: java - -services: - - docker - -# before we can run the docker image for the tests, we need to -# * pull the docker image -# * get the current VERSION file of the stylesheets from the artifacts server -# * get the latest stylesheets zip file from the artifacts server -# * install the stylesheets within our working dir in a dedicated sub dir -before_install: - - docker pull teic/jenkins:dev - - curl https://jenkins.tei-c.org/view/TEI%20dev/job/Stylesheets-dev/lastSuccessfulBuild/artifact/dist/doc/tei-xsl/VERSION -o XSLVERSION - - curl https://jenkins.tei-c.org/view/TEI%20dev/job/Stylesheets-dev/lastStableBuild/artifact/tei-xsl-`head -1 XSLVERSION`.zip -o stylesheets.zip - - mkdir stylesheets - - unzip stylesheets.zip -d stylesheets - -script: - - docker run --rm -w /var/tei/P5 -it -v `pwd`:/var/tei -v $TRAVIS_BUILD_DIR/stylesheets/xml/tei/stylesheet:/usr/share/xml/tei/stylesheet -u $UID --entrypoint "make" teic/jenkins:dev clean validate test - -notifications: - slack: tei-c:3IFCBSmTvNx3j1GUMDWS9Dom \ No newline at end of file