Sha256: 37fd048a9c32e41de8e92e9f8df09e964b61cc8a1bc24e7aa580ed089ca9f91a
Contents?: true
Size: 1.94 KB
Versions: 4
Compression:
Stored size: 1.94 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: Chromium Install command: apk add gcompat glib nss libxcb libgcc chromium - run: name: Chromium Start command: | export DISPLAY=:99 chromedriver --url-base=/wd/hub & - run: name: Node Install command: apk add nodejs npm - checkout - restore_cache: name: Gems Restore keys: - gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}} - gem-cache- - run: name: Gems Install command: | gem update --system bundle config set path "vendor/bundle" bundle install - save_cache: name: Gems Store key: gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}} paths: - vendor/bundle - restore_cache: name: Packages Restore keys: - package-cache-{{.Branch}}-{{checksum "package.json"}} - package-cache- - run: name: Packages Install command: npm install - save_cache: name: Packages Store key: package-cache-{{.Branch}}-{{checksum "package.json"}} paths: - node_modules - run: name: Database Setup command: bin/hanami db prepare - run: name: Build command: | bin/hanami assets compile bundle exec rake <% if settings.build_simple_cov %> - store_artifacts: name: SimpleCov Archive path: ~/project/coverage destination: coverage <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems