mirror of
https://github.com/neovim/neovim.git
synced 2026-11-02 20:30:40 -06:00
test: change CI_TARGET reference to CI
Travis defines[1] $CI for its builds, whereas $CI_TARGET is a Neovim-specific env var from6483a198e4that lost prominence ind2eb4a9346. [1] https://docs.travis-ci.com/user/environment-variables/
This commit is contained in:
1 parent
6f25ba0550
commit
22a928aeac
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
if [[ -n "${CI_TARGET}" ]]; then
|
||||
make lint
|
||||
make "${CI_TARGET}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ env:
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
env: CI_TARGET=clint
|
||||
env: CI_TARGET=lint
|
||||
- os: linux
|
||||
compiler: gcc-5
|
||||
- os: linux
|
||||
|
||||
@@ -119,7 +119,7 @@ if os.getenv('VALGRIND') then
|
||||
default_screen_timeout = default_screen_timeout * 3
|
||||
end
|
||||
|
||||
if os.getenv('CI_TARGET') then
|
||||
if os.getenv('CI') then
|
||||
default_screen_timeout = default_screen_timeout * 3
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user