-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
51 lines (48 loc) · 1.73 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: ruby
sudo: false
cache:
bundler: true
directories:
- "travis_phantomjs"
before_install:
- gem update --system 2.6.10
- gem --version
- gem install bundler
- gem install rubocop -v '0.48.1'
- gem install rubocop-rspec -v '1.10.0'
- "phantomjs --version"
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
- "phantomjs --version"
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
rvm:
- 2.4.1
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
matrix:
- RAILS_VERSION="5.0.3"
notifications:
email:
recipients:
- crowesn@ucmail.uc.edu
- scherztc@ucmail.uc.edu
script:
- bundle exec rake ci
services:
- redis-server
before_script:
- jdk_switcher use oraclejdk8
- rubocop
- "cp config/blacklight.yml.sample config/blacklight.yml"
- "cp config/database.yml.sample config/database.yml"
- "cp config/doi.yml.sample config/doi.yml"
- "cp config/fedora.yml.sample config/fedora.yml"
- "cp config/solr.yml.sample config/solr.yml"
- "cp config/initializers/hyrax.rb.sample config/initializers/hyrax.rb"
- "cp config/initializers/devise.rb.sample config/initializers/devise.rb"
- "cp config/authentication.yml.sample config/authentication.yml"
notifications:
slack: uc-libraries-digital:7gc9gvfCKedkWXORxCo5Hndx