diff --git a/.travis.yml b/.travis.yml index 66aaa9309ec..8e6f4f51228 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ language: node_js node_js: - 24.15 # latest LTS version ('node' will give latest version, 'lts/*' will give LTS version ) -arch: amd64 # optional, this is default, routes to a full VM -# arch: arm64 # this is the recommended LXD container - faster spin up but some limitations Not used as it seems very unstable. -os: linux # optional, this is default -dist: jammy # or bionic | xenial | trusty | precise with xenial as default - Recommended here: https://docs.travis-ci.com/user/reference/overview/#deprecated-virtualization-environments +arch: arm64 # https://docs.travis-ci.com/user/reference/overview/#arm64-builds +virt: lxd # https://docs.travis-ci.com/user/reference/overview/ +os: linux # +dist: jammy # https://docs.travis-ci.com/user/reference/overview/ +group: edge # git: depth: 20000 # We're cloning this many commits as it is roughly covering the last 4 years of commits, thus letting us show the last changed date on the documentation pages. @@ -42,16 +43,16 @@ cache: # See https://docs.travis-ci.com/user/caching/ directories: - node_modules +# - $HOME/.cache/hugo_cache before_install: ############### # Hugo, Docsy and dependencies are installed via npm - travis_retry npm install # use npm rather than yarn - HUGO doesn't have that many dependencies # - # Currently will use custom version of htmltest stored in /htmltest/htmltest - # This version makes the html.Parse much smaller - # For htmltest installation instructions, see https://github.com/wjdp/htmltest/blob/master/README.md - # - travis_retry curl https://htmltest.wjdp.uk | bash # install htmltest into $TRAVIS_BUILD_DIR/bin/htmltest + # htmltest v0.17.0 for arm64 stored in /htmltest/htmltest + # Behavior configured via .htmltest.yml + # For htmltest documentation, see https://github.com/wjdp/htmltest/blob/master/README.md install: ######## @@ -71,7 +72,7 @@ install: - ./node_modules/.bin/hugo --environment $TRAVIS_BRANCH 2>&1 | tee -a $TRAVIS_BUILD_DIR/hugo.log - # normal htmltest takes too much memory - using a modified version which strips