-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
33 lines (30 loc) · 1005 Bytes
/
.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
language: ruby
dist: trusty
sudo: required
services:
- postgresql
matrix:
include:
- rvm: 2.3.3
env: "RAILS_VERSION=5.1.2"
before_install:
- psql -c 'create database travis_ci_test;' -U postgres
- cp config/database.yml.travis config/database.yml
- sudo apt-get install clamav libclamav-dev
- gem install -v $RAILS_VERSION rails
- bundle install
- bundle exec rails new --database=postgresql --skip .
- rails generate blacklight:install --devise --skip
- rails generate hydra-head --skip
- rails generate hyrax:config --skip
- rails generate mailboxer:install --skip
- rails generate qa:local:tables --skip
- rails generate hyrax:assets --skip
- rails generate blacklight_gallery:install --skip
- rails generate active_fedora:noid:install --skip
- rails generate hyrax:models:install --skip
- rake db:migrate
- rails generate hyrax:work Syllabus --skip
- rails generate hyrax:work NewspaperIssue --skip
- rake db:migrate
- rake hyrax:workflow:load