Skip to content

Commit

Permalink
chore: Remove all traces of Travis CI (INRIA#3883)
Browse files Browse the repository at this point in the history
  • Loading branch information
slarse authored and woutersmeenk committed Aug 29, 2021
1 parent 74b31c5 commit abaf430
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 112 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
restore-keys: ${{ runner.os }}-maven-

- name: Use silent log config
run: mv chore/travis/logback.xml src/test/resources/
run: mv chore/logback.xml src/test/resources/
- name: Build
run: |
mvn -B test-compile
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
restore-keys: ${{ runner.os }}-maven-

- name: Use silent log config
run: mv chore/travis/logback.xml src/test/resources/
run: mv chore/logback.xml src/test/resources/
- name: Build
run: |
mvn -B test-compile
Expand Down Expand Up @@ -127,6 +127,6 @@ jobs:
restore-keys: ${{ runner.os }}-maven-

- name: Use silent log config
run: mv chore/travis/logback.xml src/test/resources/
run: mv chore/logback.xml src/test/resources/
- name: Run extra checks
run: ./chore/travis/ci-extra.sh
run: ./chore/ci-extra.sh
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Central](https://img.shields.io/maven-central/v/fr.inria.gforge.spoon/spoon-core.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22fr.inria.gforge.spoon%22%20AND%20a%3A%22spoon-core%22)
[![Travis Build Status](https://travis-ci.com/INRIA/spoon.svg?branch=master)](https://travis-ci.com/github/INRIA/spoon)
[![GHA tests Workflow Status](https://github.com/INRIA/spoon/actions/workflows/tests.yml/badge.svg)](https://github.com/INRIA/spoon/actions/workflows/tests.yml)
[![Coverage Status](https://coveralls.io/repos/INRIA/spoon/badge.png)](https://coveralls.io/r/INRIA/spoon)
[![Maintainability Rating](https://sonarqube.ow2.org/api/project_badges/measure?project=fr.inria.gforge.spoon%3Aspoon-core&metric=sqale_rating)](https://sonarqube.ow2.org/dashboard?id=fr.inria.gforge.spoon%3Aspoon-core)

Expand Down
4 changes: 2 additions & 2 deletions chore/travis/ci-extra.sh → chore/ci-extra.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# This script intends to be run on TravisCI
# This script intends to be run in continuous integration.
# it runs verify and site maven goals
# and to check documentation links
#
Expand Down Expand Up @@ -98,7 +98,7 @@ mvn -q depclean:depclean
## Trigerring extra tasks that we don't want to commit to master
## (For experimental CI features, short lived tasks, etc)

if [[ "$TRAVIS_REPO_SLUG" == "INRIA/spoon" ]] && [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
if [[ "$GITHUB_REPOSITORY" == "INRIA/spoon" ]] && [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]
then
echo "downloading extra CI PR script from SpoonLabs/spoon-ci-external"
curl https://raw.githubusercontent.com/SpoonLabs/spoon-ci-external/master/spoon-pull-request.sh | bash
Expand Down
2 changes: 1 addition & 1 deletion chore/travis/logback.xml → chore/logback.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- minimal configuration for Travis -->
<!-- minimal configuration for CI -->
<configuration>
<root level="INFO"/>
</configuration>
8 changes: 0 additions & 8 deletions chore/travis/ci-coverage.sh

This file was deleted.

12 changes: 0 additions & 12 deletions chore/travis/ci-jdk11.sh

This file was deleted.

13 changes: 0 additions & 13 deletions chore/travis/ci-jdk15.sh

This file was deleted.

17 changes: 0 additions & 17 deletions chore/travis/ci-jdk8.sh

This file was deleted.

19 changes: 0 additions & 19 deletions chore/travis/ci-master.sh

This file was deleted.

0 comments on commit abaf430

Please sign in to comment.