Commit e0c9bd2

mo khan <mo@mokhan.ca>
2017-02-17 19:17:38
install phantomjs.
1 parent 43f1ed1
Changed files (1)
.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