.travis.yml 573 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. language: go
  2. sudo: false
  3. cache:
  4. directories:
  5. - node_modules
  6. go:
  7. - 1.2.2
  8. - 1.3.3
  9. - 1.4
  10. - 1.5.4
  11. - 1.6.2
  12. - master
  13. matrix:
  14. allow_failures:
  15. - go: master
  16. include:
  17. - go: 1.6.2
  18. os: osx
  19. - go: 1.1.2
  20. install: go get -v .
  21. before_script: echo skipping gfmxr on $TRAVIS_GO_VERSION
  22. script:
  23. - ./runtests vet
  24. - ./runtests test
  25. before_script:
  26. - go get github.com/urfave/gfmxr/...
  27. - if [ ! -f node_modules/.bin/markdown-toc ] ; then
  28. npm install markdown-toc ;
  29. fi
  30. script:
  31. - ./runtests vet
  32. - ./runtests test
  33. - ./runtests gfmxr
  34. - ./runtests toc