aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-12 13:21:36 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-13 13:36:56 -0500
commitd0714e87d6bb4db6795ae1a1cb33dd38f6f09af8 (patch)
treefd4be3e798a16a2dc7bcdcf39d43230377c374ab
parent86eba08a4b047085c9240abe99e36acc5a1433e9 (diff)
downloadrneovim-d0714e87d6bb4db6795ae1a1cb33dd38f6f09af8.tar.gz
rneovim-d0714e87d6bb4db6795ae1a1cb33dd38f6f09af8.tar.bz2
rneovim-d0714e87d6bb4db6795ae1a1cb33dd38f6f09af8.zip
build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR
-rw-r--r--ci/common/build.sh8
-rwxr-xr-xci/snap/script.sh2
2 files changed, 5 insertions, 5 deletions
diff --git a/ci/common/build.sh b/ci/common/build.sh
index 0024f2cbd5..e14c97cb81 100644
--- a/ci/common/build.sh
+++ b/ci/common/build.sh
@@ -37,13 +37,13 @@ build_deps() {
# update CMake configuration and update to newer deps versions.
cd "${DEPS_BUILD_DIR}"
echo "Configuring with '${DEPS_CMAKE_FLAGS}'."
- CC= cmake -G Ninja ${DEPS_CMAKE_FLAGS} "${TRAVIS_BUILD_DIR}/third-party/"
+ CC= cmake -G Ninja ${DEPS_CMAKE_FLAGS} "${CI_BUILD_DIR}/third-party/"
if ! top_make; then
exit 1
fi
- cd "${TRAVIS_BUILD_DIR}"
+ cd "${CI_BUILD_DIR}"
}
prepare_build() {
@@ -54,7 +54,7 @@ prepare_build() {
mkdir -p "${BUILD_DIR}"
cd "${BUILD_DIR}"
echo "Configuring with '${CMAKE_FLAGS} $@'."
- cmake -G Ninja ${CMAKE_FLAGS} "$@" "${TRAVIS_BUILD_DIR}"
+ cmake -G Ninja ${CMAKE_FLAGS} "$@" "${CI_BUILD_DIR}"
}
build_nvim() {
@@ -84,5 +84,5 @@ build_nvim() {
fi
check_sanitizer "${LOG_DIR}"
- cd "${TRAVIS_BUILD_DIR}"
+ cd "${CI_BUILD_DIR}"
}
diff --git a/ci/snap/script.sh b/ci/snap/script.sh
index f0d45fea00..21d3421044 100755
--- a/ci/snap/script.sh
+++ b/ci/snap/script.sh
@@ -3,6 +3,6 @@
set -e
set -o pipefail
-mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
+mkdir -p "$CI_BUILD_DIR/snaps-cache"
sg lxd -c snapcraft