Sha256: f54700d2141f6bf7826685477f464c10d3ea0ee93299e0b31cdb676076ab051a
Contents?: true
Size: 1.44 KB
Versions: 7
Compression:
Stored size: 1.44 KB
Contents
version: 2.1 jobs: build: working_directory: ~/project docker: - image: bkuhlmann/alpine-ruby:latest environment: HANAMI_ENV: test DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres - image: postgres:latest environment: POSTGRES_PASSWORD: postgres steps: - run: name: Install Chromium command: apk add gcompat glib nss libxcb libgcc chromium - run: name: Start Chromium command: | export DISPLAY=:99 chromedriver --url-base=/wd/hub & - checkout - restore_cache: name: Bundler Restore keys: - gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}} - gem-cache- - run: name: Bundler Install command: | gem update --system bundle config set path "vendor/bundle" bundle install - save_cache: name: Bundler Store key: gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}} paths: - vendor/bundle - run: name: Database Setup command: | bin/hanami db migrate - run: name: Build command: bundle exec rake <% if configuration.build_simple_cov %> - store_artifacts: name: SimpleCov Artifacts Upload path: ~/project/coverage destination: coverage <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems