Hi there, Our project website is hosted on Github (https://ocean-eddy-cpt.github.io/).
Recently I have been trying to update the publication lists and I keep getting errors during the build. Here is the most recent one: Travis CI - Test and Deploy with Confidence
Any ideas what could be causing this?
Out of curiosity can you try defining
focal in your
.travis.yml. See if that solves the problem.
Remember, when Travis restores the cache, sometimes you’re left with a mix of preinstalled and cached files, with unpredictable results in a case of the slightest change.
Thanks @Montana, appreciate the help ! I was not 100% how to define focal in .travis.yml
Based on documentation I found, I added the line “dist: focal” in .travis.yml. I still got a build error unfortunately: Travis CI - Test and Deploy with Confidence
Please let me know if I should have done anything different or if I should try something else entirely…
Hi there, just checking again if anyone has any ideas on what to try to fix this bug. Thanks!
I’ve switched your
xenial here’s a
.travis.yml you should try and get back to me:
# Doctr requires python >=3.5
# *.github.io gh-pages need to be deployed to master
# sphinx source lives in "source" branch
# don't build the docs on master because that's just the html source
# This gives Doctr the key we've generated
# Doctr deploy key for ocean-eddy-cpt/ocean-eddy-cpt.github.io
- secure: "fmRzMczNLtY3hwkv9g77YPkw/Zm24oD+jyTKxd7UHmLz2eYo8062v2jk7qo62freS5AkdLzxo1BBUtWmV2/38rGYegP1zM5kBLiGIx/Peutz1UwP8E8cwe9HQHzopi6WAAykbIlxKw4mgFbfv52lM2TbVrDKQC8LQCUbhPMz2r7D7Ma97kq6VtCclUtmTs2z6wj08DnaE0Y1JPSFXexo/A7aU7UguvzLB+hoDah8lNlpWuREdVsqsH3zDRJS+GTSdCattpYDl6Hts5Fbcr+olmpJyeeGmMqp/ejNi1bjZRQPy8DxIzDsIMjVLGIME+f14OOFwKYrjhv2TUoBYQ8QrPL/jMBveWsMbAfR8Sbl8l+ZLAHmm09m6OYmR057TiXL+2c3O3Sm72iNMKGbygo68FUZS4gkY4Z8T1W2O6kMn5kutfZv4dzPgp6NNjQNik5Vak4W2+QJkHeHBR06JNxBYWZMNzCOTzxldx7ornZ58EzeZMMaon5SAAxNtJAzepJqahCX5KaqNaZCpn3sJPaUdkJIfxwG2sMPQKTOZa/h+JNplPdHyW9ojAqn3GtNTSnSfmEN9iEKpCQOuD1TkxujflWk0OPWpCgaiNrgcrDxOy/x4+8T6WU4+6tY3HHLGoxQkyzCZAB00jJpYyUvB0ZnmPALD9fttS5U2/3yYZ3d9/o="
- pip install --upgrade pip
- pip install -r requirements.txt
# This is the script to build the docs on travis, then deploy
- set -e
- cd doc
- make html
- cd ..
- doctr deploy . --built-docs doc/_build/html --deploy-branch-name master --branch-whitelist source