build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR

This commit is contained in:
James McCoy 2020-11-12 13:21:36 -05:00
parent 86eba08a4b
commit d0714e87d6
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
2 changed files with 5 additions and 5 deletions

View File

@ -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}"
}

View File

@ -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