Skip to content

Commit

Permalink
clean up travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
dunn committed Jan 30, 2020
1 parent 2037cfe commit d4d2c36
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
dist: xenial
language: ruby
jdk: openjdk11
addons:
chrome: stable
apt:
packages:
- libgconf-2-4

notifications:
email: false
Expand All @@ -11,6 +17,15 @@ matrix:
- rvm: 2.6.3
env: "RAILS_VERSION=5.2.3"

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

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
Expand All @@ -25,14 +40,8 @@ env:
- 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_install:
- google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand All @@ -44,14 +53,3 @@ script:

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

jdk: openjdk11

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

0 comments on commit d4d2c36

Please sign in to comment.