You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

40 lines
521 B

  1. language: go
  2. sudo: false
  3. cache:
  4. directories:
  5. - node_modules
  6. go:
  7. - 1.2.x
  8. - 1.3.x
  9. - 1.4.2
  10. - 1.5.x
  11. - 1.6.x
  12. - 1.7.x
  13. - master
  14. matrix:
  15. allow_failures:
  16. - go: master
  17. include:
  18. - go: 1.6.x
  19. os: osx
  20. - go: 1.7.x
  21. os: osx
  22. before_script:
  23. - go get github.com/urfave/gfmrun/... || true
  24. - go get golang.org/x/tools/... || true
  25. - if [ ! -f node_modules/.bin/markdown-toc ] ; then
  26. npm install markdown-toc ;
  27. fi
  28. script:
  29. - ./runtests gen
  30. - ./runtests vet
  31. - ./runtests test
  32. - ./runtests gfmrun
  33. - ./runtests toc