diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee94705a79b719d994ca0e983e1d2c7f5f6452d5..34d6363f73c0c1eb107a2bc4213b5f0990104e8d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,10 +14,6 @@ image: ruby:latest services: - mysql:latest - redis:latest - - postgres:latest - -variables: - POSTGRES_DB: database_name # Cache gems in between builds cache: @@ -41,20 +37,4 @@ rubocop: rspec: script: - rspec spec - -rails: - variables: - DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB" - script: - - rails db:migrate - - rails db:seed - - rails test - -# This deploy job uses a simple deploy flow to Heroku, other providers, e.g. AWS Elastic Beanstalk -# are supported too: https://github.com/travis-ci/dpl -deploy: - type: deploy - environment: production - script: - - gem install dpl - - dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_PRODUCTION_KEY + \ No newline at end of file