Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
version: 2.1
orbs:
docker: circleci/docker@1.5.0
docker: circleci/docker@2.2.0
jobs:
checkout_code:
docker:
- image: circleci/ruby:2.5
- image: cimg/ruby:2.5.8
resource_class: large
working_directory: ~/app
steps:
- restore_cache:
Expand All @@ -24,7 +25,8 @@ jobs:
- app/**/*
bundle:
docker:
- image: circleci/ruby:2.5-stretch
- image: cimg/ruby:2.5.8
resource_class: large
environment:
BUNDLE_PATH: vendor/bundle
working_directory: ~/app
Expand All @@ -34,7 +36,9 @@ jobs:
- run:
name: Update Debian Packages for Building
command: |
sudo apt-get install -y software-properties-common build-essential make apt-utils cmake nodejs default-libmysqlclient-dev
sudo apt-get update -qq
sudo apt-get upgrade -qq
sudo apt-get install -y software-properties-common build-essential make apt-utils cmake nodejs default-libmysqlclient-dev libsqlite3-dev pkg-config
- restore_cache:
name: Restore bundle from cache
keys:
Expand Down Expand Up @@ -62,16 +66,17 @@ jobs:
- app/**/*
test:
docker:
- image: circleci/ruby:2.5-stretch
- image: cimg/ruby:2.5.8
environment:
HONEYCOMB_DEBUG: 'true'
RAILS_ENV: test
- image: circleci/mysql:5.7.22
- image: cimg/mysql:5.7.36
environment:
MYSQL_ROOT_PASSWORD: monkeys
MYSQL_USER: monkeys
MYSQL_PASSWORD: monkeys
MYSQL_DATABASE: cvm_test
resource_class: large
working_directory: ~/app
steps:
- attach_workspace:
Expand All @@ -81,7 +86,7 @@ jobs:
command: |
sudo apt-get update -qq
sudo apt-get upgrade -qq
sudo apt-get install -y -f software-properties-common build-essential default-libmysqlclient-dev nodejs make apt-utils nodejs cmake apt-utils openjdk-8-jre-headless ca-certificates-java openjdk-8-jre openjdk-8-jdk openjdk-8-jdk-headless
sudo apt-get install -y -f software-properties-common build-essential default-libmysqlclient-dev nodejs make cmake apt-utils openjdk-8-jre-headless ca-certificates-java openjdk-8-jre openjdk-8-jdk openjdk-8-jdk-headless
- run:
name: phantomjs
command: |
Expand Down
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', group: :doc
gem 'sdoc', '~> 2.2.0', group: :doc
gem 'rdoc', '~> 6.3.3'


# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
Expand Down
Loading