Skip to content

Commit

Permalink
invenio: version 3.3.0
Browse files Browse the repository at this point in the history
* Upgrades invenio to version 3.3.0

Invenio-oaiserver is not functional in this version:
- inveniosoftware/invenio-oaiserver#178
- inveniosoftware/invenio-oaiserver#185
- inveniosoftware/invenio-oaiserver#186

Co-Authored-by: Peter Weber <[email protected]>
  • Loading branch information
rerowep and rerowep committed Sep 6, 2020
1 parent e25b581 commit 34939aa
Show file tree
Hide file tree
Showing 5 changed files with 501 additions and 522 deletions.
47 changes: 24 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,32 @@
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.

addons:
chrome: stable # https://docs.travis-ci.com/user/chrome
language: python

python:
- "3.7"

cache:
- pip

dist: xenial

# Chrome Webdriver fails if not on sudo
# See https://github.com/travis-ci/travis-ci/issues/8836
sudo: true
sudo: required

dist: trusty # Chrome driver fails if not trusty dist
services:
- docker
- xvfb

addons:
chrome: stable # https://docs.travis-ci.com/user/chrome

notifications:
email: # sent to the committer and the author
on_success: never # default: always
on_failure: always # default: always

language: python

cache:
- pip

services:
- docker
matrix:
fast_finish: true

env:
global:
Expand All @@ -56,32 +61,28 @@ env:
- REQUIREMENTS="--deploy" E2E=yes
- REQUIREMENTS=""

python:
- "3.6"

before_install:
# Stop default travis services
- "sudo service mysql stop"
- "sudo service postgresql stop"
- # start your web application and listen on `localhost`
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost:5000 &
# Start docker services
- "docker-compose up -d"
# Chrome webdriver for Selenium
- "PATH=$PATH:$HOME/webdrivers"
- "if [ ${E2E} == 'yes' ] && [ ! -f $HOME/webdrivers/chromedriver ]; then wget https://chromedriver.storage.googleapis.com/2.31/chromedriver_linux64.zip -P $HOME/webdrivers; unzip -d $HOME/webdrivers $HOME/webdrivers/chromedriver_linux64.zip; fi"
- "nvm install 8; nvm use 8"
- "travis_retry pip install --upgrade setuptools py poetry"
- "travis_retry pip install twine wheel coveralls"
# patch default version of travis which is mark as unsave by safety check
- "travis_retry pip install --upgrade numpy"

install:
- "./scripts/bootstrap --ci"
- "poetry show" # To have details about installed libs (isort, pytest, etc.)

before_script:
# https://docs.travis-ci.com/user/gui-and-headless-browsers/
- "export DISPLAY=:99.0"
- "if [ ${E2E} == 'yes' ]; then sh -e /etc/init.d/xvfb start; sleep 3; fi"
- CHROME_MAIN_VERSION=`google-chrome-stable --version | sed -E 's/(^Google Chrome |\.[0-9]+ )//g'`
- CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION"`
- curl "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O
- unzip chromedriver_linux64.zip -d ~/bin
# Allow services running inside docker to start
- "./docker/wait-for-services.sh"

Expand Down
Loading

0 comments on commit 34939aa

Please sign in to comment.