-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
30 lines (30 loc) · 1.31 KB
/
.travis.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
29
30
language: ruby
rvm:
- 2.1.3
bundler_args: --without development --path=~/.bundle
services:
- redis-server
env:
global:
- BUNDLE_ARCHIVE="OregonDigital"
- AWS_S3_BUCKET="CI-Artifacts"
- secure: QClPwl358D90HQEl6B5UT2pDxdYJN48411wxre86rTFhWEi7socrnuUNL11ZnD16I6BBki3KWlcNo37tkP2H6Pl36g4hngpLNekipvxA3wRzHaHVcDj2NAASnZmo78YG8MJYwbPc0oFf/bp2F39GKEP9CkvsdSyCv4ydi+NV3Ao=
- NOKOGIRI_USE_SYSTEM_LIRARIES=1
matrix:
- TESTFOLDER=spec/features
- TESTFOLDER="spec/models spec/services spec/decorators spec/controllers spec/helpers"
- TESTFOLDER=spec/lib
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libmagickwand-dev libvips-dev libmagic-dev graphicsmagick
poppler-utils poppler-data ghostscript pdftk libreoffice ffmpeg libvorbis-dev libavcodec-extra-53
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- gem install bundler bundle_cache
- bundle_cache_install
script:
- "bundle exec rake jetty:config && bundle exec rake jetty:start && bundle exec rake db:migrate && bundle exec rake sets:content:sync && bundle exec rspec $TESTFOLDER"
after_script:
- bundle_cache
notifications:
slack:
secure: byateYr+i6BSUi5/SDrBefHB97by3+CORlhUmyp6k+yDeJA8X+YU6BS4fbtKsxXs63q8Ynu6Dp7NuPoZKcOmjye+j1rClxsdGbQFzZZF/yYDMBooNEHsQuW1D3a93ElWiTNfbKKPwcxJirwrWrbJjkI23nh/F2Joz+Cns96Pzyw=