-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from gwu-libraries/t214-hyrax-2.5.0
T214 hyrax 2.5.0
- Loading branch information
Showing
4 changed files
with
159 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,35 @@ | ||
language: ruby | ||
sudo: false | ||
sudo: required | ||
dist: trusty | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- chromium-chromedriver | ||
cache: | ||
bundler: true | ||
directories: | ||
- "travis_phantomjs" | ||
|
||
before_install: | ||
- gem update --system | ||
- gem install bundler | ||
- "phantomjs --version" | ||
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH" | ||
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi" | ||
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi" | ||
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi" | ||
- "phantomjs --version" | ||
- google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost & | ||
|
||
rvm: | ||
- 2.4.1 | ||
- 2.5.5 | ||
|
||
env: | ||
global: | ||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true | ||
- ENGINE_CART_RAILS_OPTIONS='--skip-git --skip-bundle --skip-listen --skip-spring --skip-yarn --skip-keeps --skip-action-cable --skip-coffee --skip-puma --skip-test' | ||
# Travis should check every minor version in a range of supported versions, because | ||
# rails does not follow sem-ver conventions, see http://guides.rubyonrails.org/maintenance_policy.html | ||
# It should be sufficient to test only the latest of the patch versions for a minor version, they | ||
# should be compatible across patch versions (only bug fixes are released in patch versions). | ||
matrix: | ||
- "RAILS_VERSION=5.0.3" | ||
- "RAILS_VERSION=5.1.1" | ||
- "RAILS_VERSION=5.1.7" | ||
|
||
services: | ||
- redis-server | ||
before_script: | ||
- jdk_switcher use oraclejdk8 | ||
notifications: | ||
email: | ||
recipients: | ||
- "[email protected]" | ||
on_success: "change" | ||
on_failure: "always" | ||
slack: gwlai:Ll8QuTDbyV9YRIb33bg5RfSD | ||
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.