mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-04-25 09:42:31 +03:00
Add continuous integration
This commit is contained in:
parent
d73cdd267d
commit
f589bc795d
14
.travis.yml
14
.travis.yml
@ -7,6 +7,20 @@ before_install:
|
|||||||
|
|
||||||
script: cd t && make
|
script: cd t && make
|
||||||
|
|
||||||
|
env:
|
||||||
|
- COVERAGE=no
|
||||||
|
- COVERAGE=yes COV_PROGRAM="bashcov -r coveralls:Coveralls::SimpleCov::Formatter -r codecov:SimpleCov::Formatter::Codecov -r --"
|
||||||
|
before_script:
|
||||||
|
- git clone https://github.com/albfan/bashcov.git
|
||||||
|
- cd bashcov/
|
||||||
|
- gem build bashcov.gemspec
|
||||||
|
- gem install bashcov-1.2.1.gem
|
||||||
|
- cd ..
|
||||||
|
- rm -rf bashcov
|
||||||
|
- gem install codecov
|
||||||
|
- gem install codeclimate-test-reporter
|
||||||
|
- export PATH=$PATH:$PWD
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
- cd t
|
- cd t
|
||||||
|
@ -9,8 +9,8 @@ DIR_TEST=$SHARNESS_TEST_DIRECTORY/t0004
|
|||||||
test_expect_success "Parse comments" "
|
test_expect_success "Parse comments" "
|
||||||
export COVERAGE_NAME=comments_parser
|
export COVERAGE_NAME=comments_parser
|
||||||
cp ../.simplecov .
|
cp ../.simplecov .
|
||||||
cfg_parser $DIR_TEST/comments.ini
|
"$COMMAND" cfg_parser $DIR_TEST/comments.ini
|
||||||
cfg_writer > comments.out
|
"$COMMAND" cfg_writer > comments.out
|
||||||
diff $DIR_TEST/comments.out.correct comments.out
|
diff $DIR_TEST/comments.out.correct comments.out
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user