.travis.yml 419 Bytes
Newer Older
Christopher Guindon's avatar
Christopher Guindon committed
1
2
3
4
5
6
7
8
9
language: node_js
matrix:
  include:
    - node_js: 10
      env: HUGO_ENV=dev
    - node_js: 12
      env: HUGO_ENV=production
install:
- npm install
10
- wget https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.deb
Christopher Guindon's avatar
Christopher Guindon committed
11
12
13
14
- sudo dpkg -i hugo*.deb
script:
 - if [ "$HUGO_ENV" = "dev" ]; then hugo --gc --minify --buildFuture; fi;
 - if [ "$HUGO_ENV" = "production" ]; then hugo --gc --minify ; fi;