Commit 147725da authored by Kamil Trzciński's avatar Kamil Trzciński

CI script

parent 2e435c59
Pipeline #52366 failed with stage
test:
script:
- "sed -i 's/# socket:.*/host: postgres/g' config/database.yml"
- bundle install
- bundle exec rake test
staging:
type: deploy
script:
- gem install dpl
- dpl --provider=heroku --app=my-app-staging --api-key=$HEROKU_STAGING_API_KEY
only:
- master
production:
type: deploy
script:
- gem install dpl
- dpl --provider=heroku --app=my-app-production --api-key=$HEROKU_PRODUCTION_API_KEY
only:
- tags
source 'https://rubygems.org'
ruby '2.2.0'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment