Permalink
Browse files

Update tests env

  • Loading branch information...
1 parent d067796 commit d222b02c2046953ee574eb5ac020fe8da9fa474b @lambdalisue committed Jul 8, 2015
Showing with 33 additions and 11 deletions.
  1. +1 −0 .gitignore
  2. +9 −7 .travis.yml
  3. +4 −0 test/run_all.sh
  4. +2 −0 test/run_doc.sh
  5. +8 −4 test/run_themis.sh
  6. +9 −0 test/run_vimlint.sh
View
@@ -1 +1,2 @@
test/.env
+doc/tags
View
@@ -15,14 +15,16 @@ install:
- sudo apt-get install vim-nox
before_script:
- - git clone https://github.com/syngan/vim-vimlint /tmp/vim-vimlint
- - git clone https://github.com/ynkdir/vim-vimlparser /tmp/vim-vimlparser
- - git clone https://github.com/thinca/vim-themis --branch v1.4.1 --single-branch --depth 1 /tmp/vim-themis
- - git clone https://github.com/Shougo/vimproc.vim /tmp/vimproc
+ - export VIMLINT=/tmp/vim-vimlint
+ - export VIMLPARSER=/tmp/vim-vimlparser
+ - export VIMTHEMIS=/tmp/vim-themis
+ - export VIMPROC=/tmp/vimproc.vim
+ - git clone https://github.com/syngan/vim-vimlint --single-branch --depth 1 $VIMLINT
+ - git clone https://github.com/ynkdir/vim-vimlparser --single-branch --depth 1 $VIMLPARSER
+ - git clone https://github.com/thinca/vim-themis --branch v1.4.1 --single-branch --depth 1 $VIMTHEMIS
+ - git clone https://github.com/Shougo/vimproc.vim --single-branch --depth 1 $VIMPROC
- (cd /tmp/vimproc && make)
script:
- - sh /tmp/vim-vimlint/bin/vimlint.sh -l /tmp/vim-vimlint -p /tmp/vim-vimlparser -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 autoload
- vim --cmd version --cmd quit
- - vim --cmd "try | helptags doc/ | catch | cquit | endtry" --cmd quit
- - /tmp/vim-themis/bin/themis --runtimepath /tmp/vimproc --reporter dot
+ - ./test/run_all.sh
View
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+sh ./test/run_vimlint.sh
+sh ./test/run_doc.sh
+sh ./test/run_themis.sh
View
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+vim --cmd "try | helptags doc/ | catch | cquit | endtry" --cmd quit
View
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
-themis --reporter dot \
- --runtimepath $HOME/.vim/bundle/vital.vim \
- --runtimepath $HOME/.vim/bundle/vimproc.vim \
- $@
+: ${VIMTHEMIS:=~/.vim/bundle/vim-themis}
+: ${VIMPROC:=~/.vim/bundle/vimproc.vim}
+
+# themis
+sh ${VIMTHEMIS}/bin/themis \
+ --reporter dot \
+ --runtimepath ${VIMPROC} \
+ $@
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+: ${VIMLINT:=~/.vim/bundle/vim-vimlint}
+: ${VIMLPARSER:=~/.vim/bundle/vim-vimlparser}
+
+# vim-vimlint
+sh ${VIMLINT}/bin/vimlint.sh \
+ -l ${VIMLINT} -p ${VIMLPARSER} \
+ -e EVL103=1 -e EVL102.l:_=1 -c func_abort=1 \
+ autoload

0 comments on commit d222b02

Please sign in to comment.