diff options
author | James McCoy <jamessan@jamessan.com> | 2020-11-16 21:26:47 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2020-11-24 21:26:02 -0500 |
commit | d93e397232ad93c106c143a720c256f96f0588e5 (patch) | |
tree | b915edc2ab79a22cfe795f4214f4abeaa62c9dc8 /ci/common | |
parent | 1731ef31760ebf9574ff898a67c035bb4051b31f (diff) | |
download | rneovim-d93e397232ad93c106c143a720c256f96f0588e5.tar.gz rneovim-d93e397232ad93c106c143a720c256f96f0588e5.tar.bz2 rneovim-d93e397232ad93c106c143a720c256f96f0588e5.zip |
ci: s/TRAVIS_OS_NAME/CI_OS_NAME/ for non-Travis-specific code
Diffstat (limited to 'ci/common')
-rw-r--r-- | ci/common/build.sh | 2 | ||||
-rw-r--r-- | ci/common/test.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ci/common/build.sh b/ci/common/build.sh index f0bdec0a0e..0ee4b7493f 100644 --- a/ci/common/build.sh +++ b/ci/common/build.sh @@ -1,5 +1,5 @@ _stat() { - if test "${TRAVIS_OS_NAME}" = osx ; then + if test "${CI_OS_NAME}" = osx ; then stat -f %Sm "${@}" else stat -c %y "${@}" diff --git a/ci/common/test.sh b/ci/common/test.sh index 4ef6260339..118e181dfa 100644 --- a/ci/common/test.sh +++ b/ci/common/test.sh @@ -15,7 +15,7 @@ print_core() { return 0 fi echo "======= Core file $core =======" - if test "${TRAVIS_OS_NAME}" = osx ; then + if test "${CI_OS_NAME}" = osx ; then lldb -Q -o "bt all" -f "${app}" -c "${core}" else gdb -n -batch -ex 'thread apply all bt full' "${app}" -c "${core}" @@ -30,7 +30,7 @@ check_core_dumps() { fi local app="${1:-${BUILD_DIR}/bin/nvim}" local cores - if test "${TRAVIS_OS_NAME}" = osx ; then + if test "${CI_OS_NAME}" = osx ; then cores="$(find /cores/ -type f -print)" local _sudo='sudo' else |