diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f53853eae..69703992b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: - name: Set up environment id: env_setup run: | - DF_VERSION="$(sh travis/get-df-version.sh)" + DF_VERSION="$(sh ci/get-df-version.sh)" echo "::set-output name=df_version::${DF_VERSION}" echo "DF_VERSION=${DF_VERSION}" >> $GITHUB_ENV echo "DF_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV @@ -61,7 +61,7 @@ jobs: key: ${{ steps.env_setup.outputs.df_version }} - name: Download DF run: | - sh travis/download-df.sh + sh ci/download-df.sh - name: Build DFHack env: CC: gcc-${{ matrix.gcc }} @@ -84,8 +84,8 @@ jobs: run: | export TERM=dumb mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init - script -qe -c "python travis/run-tests.py --headless --keep-status \"$DF_FOLDER\"" - python travis/check-rpc.py "$DF_FOLDER/dfhack-rpc.txt" + script -qe -c "python ci/run-tests.py --headless --keep-status \"$DF_FOLDER\"" + python ci/check-rpc.py "$DF_FOLDER/dfhack-rpc.txt" mkdir -p artifacts cp "$DF_FOLDER/test_status.json" "$DF_FOLDER"/*.log artifacts - name: Upload test artifacts @@ -147,23 +147,23 @@ jobs: # don't need tags here - name: Check whitespace run: | - python travis/lint.py --github-actions + python ci/lint.py --github-actions - name: Check Authors.rst if: success() || failure() run: | - python travis/authors-rst.py + python ci/authors-rst.py - name: Check for missing documentation if: success() || failure() run: | - python travis/script-docs.py + python ci/script-docs.py - name: Check Lua syntax if: success() || failure() run: | - python travis/script-syntax.py --ext=lua --cmd="luac5.3 -p" --github-actions + python ci/script-syntax.py --ext=lua --cmd="luac5.3 -p" --github-actions - name: Check Ruby syntax if: success() || failure() run: | - python travis/script-syntax.py --ext=rb --cmd="ruby -c" --github-actions + python ci/script-syntax.py --ext=rb --cmd="ruby -c" --github-actions check-pr: runs-on: ubuntu-latest diff --git a/travis/authors-rst.py b/ci/authors-rst.py similarity index 100% rename from travis/authors-rst.py rename to ci/authors-rst.py diff --git a/travis/build-lua.sh b/ci/build-lua.sh old mode 100644 new mode 100755 similarity index 100% rename from travis/build-lua.sh rename to ci/build-lua.sh diff --git a/travis/check-rpc.py b/ci/check-rpc.py similarity index 100% rename from travis/check-rpc.py rename to ci/check-rpc.py diff --git a/travis/download-df.sh b/ci/download-df.sh similarity index 100% rename from travis/download-df.sh rename to ci/download-df.sh diff --git a/travis/get-df-version.sh b/ci/get-df-version.sh similarity index 100% rename from travis/get-df-version.sh rename to ci/get-df-version.sh diff --git a/travis/lint.py b/ci/lint.py similarity index 100% rename from travis/lint.py rename to ci/lint.py diff --git a/travis/run-tests.py b/ci/run-tests.py similarity index 100% rename from travis/run-tests.py rename to ci/run-tests.py diff --git a/travis/script-docs.py b/ci/script-docs.py similarity index 100% rename from travis/script-docs.py rename to ci/script-docs.py diff --git a/travis/script-syntax.py b/ci/script-syntax.py similarity index 100% rename from travis/script-syntax.py rename to ci/script-syntax.py