forked from projectblacklight/spotlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (48 loc) · 1.69 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
addons:
chrome: stable
notifications:
email: false
matrix:
include:
- rvm: 2.6.0
env: "RAILS_VERSION=5.2.2"
- rvm: 2.5.3
env: "RAILS_VERSION=5.2.2"
- rvm: 2.4.4
env: "RAILS_VERSION=5.1.6"
before_install:
- gem update --system
- gem install --no-document bundler
- gem install --no-document chromedriver-helper
- chromedriver-update 73.0.3683.68
- google-chrome-stable --headless --disable-gpu --no-sandbox --blink-settings=imagesEnabled=false --remote-debugging-port=9222 http://localhost &
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
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