summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2017-02-17 12:17:38 -0700
committermo khan <mo@mokhan.ca>2017-02-17 12:17:38 -0700
commite0c9bd2c092c91ae17dbf84cda8beeee1e579dc9 (patch)
tree4963c9b82f991b7821c247ea2c1ba1d020a59354
parent43f1ed14aa6167ec9caa1071cf2537934634130d (diff)
install phantomjs.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c81ef93..2bf793a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,8 @@ cache:
before_script:
- ruby -v # Print out ruby version for debugging
- apt-get update -q && apt-get install nodejs -yqq
+ - npm install npm -g
+ - npm install phantomjs-prebuilt -g
- gem install bundler --no-ri --no-rdoc # Bundler is not installed with the image
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
- RAILS_ENV=test bin/rake db:migrate