-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
46 lines (38 loc) · 1.08 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
## Based on .travis.yml from ScholarSphere: https://github.com/psu-stewardship/scholarsphere/blob/develop/.travis.yml
language: ruby
cache: bundler
sudo: false
rvm:
- 2.1
env:
global:
- TRAVIS=true
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- JS=true
before_install:
- export PATH="$PATH:$(pwd)/fits-0.8.4"
services:
- redis-server
before_script:
- "cp config/database.yml.sample config/database.yml"
- "cp config/redis.yml.sample config/redis.yml"
- "cp config/initializers/devise.rb.sample config/initializers/devise.rb"
- "cp config/solr.yml.sample config/solr.yml"
- "cp config/fedora.yml.sample config/fedora.yml"
- "cp config/initializers/secret_token.rb.sample config/initializers/secret_token.rb"
- "redis-cli info"
matrix:
fast_finish: true
script:
- "bundle exec rake ci"
notifications:
# email:
# recipients:
# - "[email protected]"
# on_success: "change"
# on_failure: "always"
irc:
channels:
- "irc.freenode.org#hydradam"
template:
- "%{repository}//%{branch}@%{commit} by %{author}: %{message} - %{build_url}"