Skip to content
Snippets Groups Projects
Unverified Commit 30cf7b29 authored by Christopher Guindon's avatar Christopher Guindon Committed by GitHub
Browse files

Update .travis.yml


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent e7a6a40e
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,9 @@ language: node_js ...@@ -2,13 +2,9 @@ language: node_js
matrix: matrix:
include: include:
- node_js: 12 - node_js: 12
env: HUGO_ENV=dev
- node_js: 12
env: HUGO_ENV=production
install: install:
- npm install - npm install
- wget https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.deb - wget https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.deb
- sudo dpkg -i hugo*.deb - sudo dpkg -i hugo*.deb
script: script:
- if [ "$HUGO_ENV" = "dev" ]; then hugo --gc --minify --buildFuture; fi; - hugo --gc --minify --buildFuture
- if [ "$HUGO_ENV" = "production" ]; then hugo --gc --minify ; fi;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment