This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
forked from projectblacklight/spotlight
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
65 lines (53 loc) · 1.66 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
addons:
chrome: stable
notifications:
email: false
matrix:
allow_failures:
- rvm: 2.4.6 # This is in security maintenance only and causing issues w/ chrome on travis
include:
- rvm: 2.6.0
env: "RAILS_VERSION=5.2.2"
- rvm: 2.5.3
env: "RAILS_VERSION=5.2.2"
- rvm: 2.4.6
env: "RAILS_VERSION=5.1.6"
before_install:
- gem update --system
- gem install --no-document bundler
before_cache:
- rm /home/travis/build/projectblacklight/spotlight/.internal_test_app/db/test.sqlite3
- rm /home/travis/build/projectblacklight/spotlight/.internal_test_app/log/test.log
- rm -rf /home/travis/build/projectblacklight/spotlight/.internal_test_app/public/uploads
- rm /home/travis/build/projectblacklight/spotlight/.internal_test_app/tmp/cache/*/*/riiif*
notifications:
irc: "irc.freenode.org#blacklight"
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- BUNDLE_PATH=/home/travis/build/projectblacklight/spotlight/vendor/bundle
- CC_TEST_REPORTER_ID=4e87a4c0e19dcb18cbeea96e91fb8993154c999aa116a6638761c3daf4d3981b
language: ruby
addons:
apt:
packages:
- chromium-browser
- libgconf-2-4
chrome: stable
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- bundle exec rake
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
jdk: oraclejdk8
cache:
##
# Caching bundler here in a hope to reduce Travis test time
bundler: true
##
# We don't really know how this will work, but lets see.
directories:
- .internal_test_app