fix: disable container-based Travis builds and switch to sudo-required trusty dist
The container-based infrastructure does not support sudo, which is needed to install the custom Pygments lexer for documentation generation. This change replaces the `sudo: false` directive with `sudo: required` and explicitly sets the distribution to `trusty`. Additionally, the deploy script is corrected to invoke `sudo python` instead of plain `python` when installing the lexer, ensuring the system-wide installation succeeds.
This commit is contained in:
@@ -3,7 +3,7 @@ set -e
|
||||
|
||||
# Install the Wren Pygments lexer.
|
||||
cd util/pygments-lexer
|
||||
python setup.py develop
|
||||
python sudo setup.py develop
|
||||
cd ../..
|
||||
|
||||
# Build the docs.
|
||||
|
||||
Reference in New Issue
Block a user