From e9062012dd599d7a8dd6261e29fd29e7ab4ca903 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 14 Feb 2021 16:07:36 +0100 Subject: [PATCH] CI is not totally necessary at the moment --- .gitlab-ci.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index fbc5046..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- - -build: - variables: - POSTGRES_DB: debshots_test - POSTGRES_USER: debshots - POSTGRES_PASSWORD: "" - - services: - - postgres:latest - - cache: - key: build-cache - paths: - - vendor/ - - - script: - - apt-get update -qy - - apt-get -o dir::cache::archives="vendor/apt" install -yqq imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev ruby-dev curl - - curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash - - export PATH="$HOME/.rbenv/bin:$PATH" - - eval "$(rbenv init -)" - - rbenv install --skip-existing `cat .ruby-version` - - bundle install - - bundle exec rake db:migrate RAILS_ENV=test - - gem install bundler - - RAILS_ENV=test bundle install --path vendor - - cp config/database.yml.gitlab config/database.yml - - RAILS_ENV=test bundle exec rake db:create db:schema:load - #- RAILS_ENV=test bundle exec rake db:schema:load - - bundle exec rake test