summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..c0aaa27ae
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
+language: go
+sudo: false
+dist: trusty
+env:
+ HUGO_BUILD_TAGS="extended"
+git:
+ depth: false
+go:
+ - 1.11
+ - tip
+os:
+ - linux
+ - osx
+matrix:
+ allow_failures:
+ - go: tip
+ fast_finish: true
+install:
+ - mkdir -p $HOME/src
+ - mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src
+ - export TRAVIS_BUILD_DIR=$HOME/src/hugo
+ - cd $HOME/src/hugo
+ - go get github.com/magefile/mage
+script:
+- mage -v test
+- mage -v check
+- mage -v hugo
+- ./hugo -s docs/
+- ./hugo --renderToMemory -s docs/
+before_install:
+ - gem install asciidoctor
+ - type asciidoctor