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:
+7
-1
@@ -27,5 +27,11 @@ addons:
|
||||
- python3-markdown
|
||||
- ruby-sass
|
||||
|
||||
sudo: false # Enable container-based builds.
|
||||
# Can't do container-based builds for now because installing the custom
|
||||
# Pygments lexer to generate the docs requires sudo. :( If that changes,
|
||||
# uncomment the next line and delete the "sudo" and "dist" lines.
|
||||
# sudo: false # Enable container-based builds.
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
script: make WREN_CFLAGS=${WREN_OPTIONS} ${CI_ARCHS}
|
||||
|
||||
Reference in New Issue
Block a user