1
0
forked from Mirror/wren

Disable container-based build so we can use sudo.

This commit is contained in:
Bob Nystrom
2018-07-14 11:05:41 -07:00
parent 5fff693530
commit db77a9dce4
2 changed files with 8 additions and 2 deletions

View File

@ -27,5 +27,11 @@ addons:
- python3-markdown - python3-markdown
- ruby-sass - 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} script: make WREN_CFLAGS=${WREN_OPTIONS} ${CI_ARCHS}

View File

@ -3,7 +3,7 @@ set -e
# Install the Wren Pygments lexer. # Install the Wren Pygments lexer.
cd util/pygments-lexer cd util/pygments-lexer
python setup.py develop python sudo setup.py develop
cd ../.. cd ../..
# Build the docs. # Build the docs.