mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-08 00:02:42 -04:00
setting up coverage as part of gitlab pages
This commit is contained in:
parent
5c13a70d04
commit
2ff94fd708
@ -8,21 +8,45 @@ before_script:
|
|||||||
- docker-compose --version
|
- docker-compose --version
|
||||||
|
|
||||||
test_ruby21:
|
test_ruby21:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh ruby 2.1
|
./spec.sh ruby 2.1
|
||||||
test_ruby22:
|
test_ruby22:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh ruby 2.2
|
./spec.sh ruby 2.2
|
||||||
test_ruby23:
|
test_ruby23:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh ruby 2.3
|
./spec.sh ruby 2.3
|
||||||
test_ruby24:
|
test_ruby24:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh ruby 2.4
|
./spec.sh ruby 2.4
|
||||||
test_ruby25:
|
test_ruby25:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh ruby 2.5
|
./spec.sh ruby 2.5
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- coverage/
|
||||||
test_jruby:
|
test_jruby:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
./spec.sh jruby 9.0.0.0
|
./spec.sh jruby 9.0.0.0
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
dependencies:
|
||||||
|
- test_ruby25
|
||||||
|
script:
|
||||||
|
- mv coverage/ public/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
expire_in: 30 days
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user