Skip to content

Commit f3b8c58

Browse files
Remove obsolete TRAVIS CI variables (#2292)
Use GH native ones instead.
1 parent 6d115cd commit f3b8c58

13 files changed

+19
-26
lines changed

.github/workflows/pull-request.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ name: Arduino-Pico CI
66
on:
77
pull_request:
88

9-
env:
10-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
11-
TRAVIS_TAG: ${{ github.ref }}
12-
13-
149
jobs:
1510

1611
# Consistent style, spelling

.github/workflows/release-to-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
# pip install --upgrade platformio
3434
- name: Deploy updated JSON
3535
env:
36-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
3736
BUILD_TYPE: package
3837
CI_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
3938
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}

.github/workflows/tag-to-draft-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
python-version: '3.x'
2525
- name: Build package JSON
2626
env:
27-
TRAVIS_BUILD_DIR: ${{ github.workspace }}
2827
BUILD_TYPE: package
2928
CI_GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
3029
run: |

tests/build-tinyusb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
cache_dir=$(mktemp -d)
44

5-
source "$TRAVIS_BUILD_DIR"/tests/common.sh
5+
source "$GITHUB_WORKSPACE"/tests/common.sh
66

77
install_arduino nodebug
88

tests/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
cache_dir=$(mktemp -d)
44

5-
source "$TRAVIS_BUILD_DIR"/tests/common.sh
5+
source "$GITHUB_WORKSPACE"/tests/common.sh
66

77
if [ -z "$BUILD_PARITY" ]; then
88
mod=1

tests/ci/build_boards.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -ev
66

7-
cd $TRAVIS_BUILD_DIR
7+
cd $GITHUB_WORKSPACE
88

99
tools/boards.txt.py --boardsgen --ldgen --packagegen --docgen
1010

tests/ci/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
set -ev
66

7-
cd $TRAVIS_BUILD_DIR/doc
7+
cd $GITHUB_WORKSPACE/doc
88

99
SPHINXOPTS="-W" make html

tests/ci/build_package.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
set -ev
66

7-
export PKG_URL=https://github.com/esp8266/Arduino/releases/download/$TRAVIS_TAG/esp8266-$TRAVIS_TAG.zip
8-
export DOC_URL=https://arduino-esp8266.readthedocs.io/en/$TRAVIS_TAG/
7+
export PKG_URL=https://github.com/esp8266/Arduino/releases/download/$GITHUB_REF/esp8266-$GITHUB_REF.zip
8+
export DOC_URL=https://arduino-esp8266.readthedocs.io/en/$GITHUB_REF/
99

1010
if [ -z "$CI_GITHUB_API_KEY" ]; then
1111
echo "Github API key not set. Skip building the package."
1212
exit 0
1313
fi
1414

15-
cd $TRAVIS_BUILD_DIR/package
15+
cd $GITHUB_WORKSPACE/package
1616
./build_boards_manager_package.sh

tests/ci/host_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -ev
66

7-
cd $TRAVIS_BUILD_DIR/tests/host
7+
cd $GITHUB_WORKSPACE/tests/host
88

99

1010
make -j2 FORCE32=0 ssl

tests/ci/style_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ ${org}/../restyle.sh
1212
git --version || true
1313
git submodule foreach --recursive 'git reset --hard'
1414

15-
git diff --exit-code -- $TRAVIS_BUILD_DIR
15+
git diff --exit-code -- $GITHUB_WORKSPACE

0 commit comments

Comments
 (0)