Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vimagit
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
jreybert
vimagit
Commits
78bde219
Commit
78bde219
authored
8 years ago
by
Jerome Reybert
Browse files
Options
Downloads
Patches
Plain Diff
travis: all tests are done with a git repo path with spaces (ref #89)
parent
3cea54ac
Branches
kegan/fix-3pid-signup
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+2
-2
2 additions, 2 deletions
.travis.yml
test/run.sh
+3
-3
3 additions, 3 deletions
test/run.sh
with
5 additions
and
5 deletions
.travis.yml
+
2
−
2
View file @
78bde219
...
@@ -61,11 +61,11 @@ install:
...
@@ -61,11 +61,11 @@ install:
fi
fi
before_script
:
before_script
:
-
git clone https://github.com/jreybert/djooks
-
git clone https://github.com/jreybert/djooks
"djooks with spaces"
-
git clone https://github.com/jreybert/vader.vim
-
git clone https://github.com/jreybert/vader.vim
script
:
script
:
-
./test/run.sh . vader.vim djooks $VIM_VERSION
-
./test/run.sh . vader.vim
"
djooks
with spaces"
$VIM_VERSION
after_success
:
after_success
:
-
./test/merge.sh
-
./test/merge.sh
This diff is collapsed.
Click to expand it.
test/run.sh
+
3
−
3
View file @
78bde219
...
@@ -15,7 +15,7 @@ python -c "import os,sys; print(os.path.realpath(os.path.expanduser(sys.argv[1])
...
@@ -15,7 +15,7 @@ python -c "import os,sys; print(os.path.realpath(os.path.expanduser(sys.argv[1])
export
VIMAGIT_PATH
=
$(
prealpath
$1
)
export
VIMAGIT_PATH
=
$(
prealpath
$1
)
export
VADER_PATH
=
$(
prealpath
$2
)
export
VADER_PATH
=
$(
prealpath
$2
)
export
TEST_PATH
=
$(
prealpath
$3
)
export
TEST_PATH
=
$(
prealpath
"
$3
"
)
export
VIM_VERSION
=
$4
export
VIM_VERSION
=
$4
if
[[
!
(
-d
$VIMAGIT_PATH
&&
-d
$VADER_PATH
&&
-d
$TEST_PATH
)
]]
;
then
if
[[
!
(
-d
$VIMAGIT_PATH
&&
-d
$VADER_PATH
&&
-d
$TEST_PATH
)
]]
;
then
...
@@ -23,7 +23,7 @@ if [[ ! ( -d $VIMAGIT_PATH && -d $VADER_PATH && -d $TEST_PATH ) ]]; then
...
@@ -23,7 +23,7 @@ if [[ ! ( -d $VIMAGIT_PATH && -d $VADER_PATH && -d $TEST_PATH ) ]]; then
exit
1
exit
1
fi
fi
pushd
$TEST_PATH
pushd
"
$TEST_PATH
"
git config
--local
user.email
'tester@vimagit.org'
git config
--local
user.email
'tester@vimagit.org'
git config
--local
user.name
'vimagit tester'
git config
--local
user.name
'vimagit tester'
export
TEST_HEAD_SHA1
=
'origin/vimagit_test-1.4.1'
export
TEST_HEAD_SHA1
=
'origin/vimagit_test-1.4.1'
...
@@ -62,7 +62,7 @@ for script in ${!test_scripts[@]}; do
...
@@ -62,7 +62,7 @@ for script in ${!test_scripts[@]}; do
for
filename
in
"
${
filename_array
[@]
}
"
;
do
for
filename
in
"
${
filename_array
[@]
}
"
;
do
echo
${
_TEST_PATHS
[@]
}
echo
${
_TEST_PATHS
[@]
}
for
test_path
in
${
_TEST_PATHS
[@]
}
;
do
for
test_path
in
${
_TEST_PATHS
[@]
}
;
do
export
TEST_SUB_PATH
=
$(
prealpath
$TEST_PATH
/
$test_path
)
export
TEST_SUB_PATH
=
$(
prealpath
"
$TEST_PATH
"
/
$test_path
)
export
VIMAGIT_TEST_FILENAME
=
"
$filename
"
export
VIMAGIT_TEST_FILENAME
=
"
$filename
"
for
i
in
$EOL_TEST
;
do
for
i
in
$EOL_TEST
;
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment