Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove all traces of Travis CI #3883

Merged
merged 10 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
12 changes: 1 addition & 11 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 @@ -93,13 +93,3 @@ git diff
mvn -q -Djava.src.version=11 test
mvn -q checkstyle:checkstyle license:check
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" ]]
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we may keep that, it's cool for experimenting. How to update the if condition in GHA?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-added, you can see here that the "downloading extra CI PR..." is now being executed: https://github.com/INRIA/spoon/runs/2387878660#step:8:3814

fi
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.