httpx/.gitlab-ci.yml
2018-02-19 00:52:54 +00:00

62 lines
859 B
YAML

image: tmaier/docker-compose
variables:
JEKYLL_ENV: production
services:
- docker:dind
before_script:
- docker info
- docker-compose --version
test_jruby:
stage: test
script:
./spec.sh jruby 9.0.0.0
allow_failure: true
test_ruby21:
stage: test
script:
./spec.sh ruby 2.1
test_ruby22:
stage: test
script:
./spec.sh ruby 2.2
test_ruby23:
stage: test
script:
./spec.sh ruby 2.3
test_ruby24:
stage: test
script:
./spec.sh ruby 2.4
test_ruby25:
stage: test
script:
./spec.sh ruby 2.5
artifacts:
paths:
- coverage/
- rdoc/
- public/
pages:
stage: deploy
dependencies:
- test_ruby25
script:
- echo pwd
- ls
- mkdir public
- mv coverage public/
- mv rdoc/ public/
artifacts:
paths:
- public
expire_in: 30 days
only:
- master