forked from ifmeorg/ifme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
28 lines (25 loc) · 813 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
28
machine:
ruby:
version: 2.3.4
dependencies:
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
override:
- gem install bundler --pre
- bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
--jobs=4 --retry=3
test:
pre:
- RAILS_ENV=test bundle exec rake db:create db:schema:load
override:
- bundle exec rspec --format progress --format RspecJunitFormatter -o
$CIRCLE_TEST_REPORTS/rspec.xml
- RAILS_ENV=test bundle exec rake jasmine:ci
deployment:
staging:
branch: master
heroku:
appname: ifme