Skip to content

Commit

Permalink
ci: Remove all travis ci related staffs (solana-labs#912)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Apr 23, 2024
1 parent 8fc7083 commit a921457
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 72 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ members = [

exclude = ["programs/sbf", "svm/tests/example-programs"]

# This prevents a Travis CI error when building for Windows.
resolver = "2"

[workspace.package]
Expand Down
25 changes: 0 additions & 25 deletions ci/affects.sh

This file was deleted.

2 changes: 1 addition & 1 deletion ci/buildkite-pipeline-in-disk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ pull_or_push_steps() {
all_test_steps
fi

# docs changes run on Travis or Github actions...
# docs changes run on Github actions...
}


Expand Down
2 changes: 1 addition & 1 deletion ci/buildkite-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ pull_or_push_steps() {
all_test_steps
fi

# docs changes run on Travis or Github actions...
# docs changes run on Github actions...
}


Expand Down
2 changes: 1 addition & 1 deletion ci/buildkite-solana-private.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ pull_or_push_steps() {
all_test_steps
fi

# docs changes run on Travis or Github actions...
# docs changes run on Github actions...
}


Expand Down
16 changes: 1 addition & 15 deletions ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,7 @@

if [[ -n $CI ]]; then
export CI=1
if [[ -n $TRAVIS ]]; then
export CI_BRANCH=$TRAVIS_BRANCH
export CI_BASE_BRANCH=$TRAVIS_BRANCH
export CI_BUILD_ID=$TRAVIS_BUILD_ID
export CI_COMMIT=$TRAVIS_COMMIT
export CI_JOB_ID=$TRAVIS_JOB_ID
if [[ $TRAVIS_PULL_REQUEST != false ]]; then
export CI_PULL_REQUEST=true
else
export CI_PULL_REQUEST=
fi
export CI_OS_NAME=$TRAVIS_OS_NAME
export CI_REPO_SLUG=$TRAVIS_REPO_SLUG
export CI_TAG=$TRAVIS_TAG
elif [[ -n $BUILDKITE ]]; then
if [[ -n $BUILDKITE ]]; then
export CI_BRANCH=$BUILDKITE_BRANCH
export CI_BUILD_ID=$BUILDKITE_BUILD_ID
if [[ $BUILDKITE_COMMIT = HEAD ]]; then
Expand Down
11 changes: 0 additions & 11 deletions ci/publish-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,6 @@ for file in "${TARBALL_BASENAME}"-$TARGET.tar.bz2 "${TARBALL_BASENAME}"-$TARGET.
if [[ -n $TAG ]]; then
ci/upload-github-release-asset.sh "$file"
fi
elif [[ -n $TRAVIS ]]; then
# .travis.yml uploads everything in the travis-s3-upload/ directory to release.solana.com
mkdir -p travis-s3-upload/"$CHANNEL_OR_TAG"
cp -v "$file" travis-s3-upload/"$CHANNEL_OR_TAG"/

if [[ -n $TAG ]]; then
# .travis.yaml uploads everything in the travis-release-upload/ directory to
# the associated Github Release
mkdir -p travis-release-upload/
cp -v "$file" travis-release-upload/
fi
elif [[ -n $GITHUB_ACTIONS ]]; then
mkdir -p github-action-s3-upload/"$CHANNEL_OR_TAG"
cp -v "$file" github-action-s3-upload/"$CHANNEL_OR_TAG"/
Expand Down
9 changes: 0 additions & 9 deletions docs/.travis/before_install.sh

This file was deleted.

4 changes: 0 additions & 4 deletions docs/.travis/script.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ They are listed in the commented out `localesNotBuilding` attribute in the

## CI Build Flow

The docs are built and published in Travis CI with the `./build.sh` script. On each PR, the docs are built, but not published.
The docs are built and published in Github Actions with the `docs.yml` workflow. On each PR, the docs are built, but not published.

In each post-commit build, docs are built and published using `vercel` to their respective domain depending on the build branch.

Expand Down
3 changes: 0 additions & 3 deletions docs/build-cli-usage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ source ../ci/rust-version.sh stable

: "${rust_stable:=}" # Pacify shellcheck

# pre-build with output enabled to appease Travis CI's hang check
cargo build -p solana-cli

usage=$(cargo -q run -p solana-cli -- -C ~/.foo --help | sed -e 's|'"$HOME"'|~|g' -e 's/[[:space:]]\+$//')

section() {
Expand Down

0 comments on commit a921457

Please sign in to comment.