forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcircle.yml
27 lines (27 loc) · 859 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
machine:
environment:
DB: postgres
services:
- postgresql
ruby:
version: 2.4.2
dependencies:
override:
- bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
- bundle update
- ./build-ci.rb install
pre:
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
- wget https://chromedriver.storage.googleapis.com/2.33/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo cp chromedriver /usr/local/bin/chromedriver
- gem uninstall bundler -x -a
- gem install bundler -v 1.14.6
test:
override:
- './build-ci.rb test':
parallel: true