.travis.yml 848 B

1234567891011121314151617181920212223242526272829303132333435
  1. language: go
  2. go:
  3. - 1.6
  4. before_install:
  5. - sudo apt-get install cgroup-bin
  6. - go get github.com/smartystreets/goconvey
  7. - go get golang.org/x/tools/cmd/cover
  8. - go get -v github.com/mattn/goveralls
  9. os:
  10. - linux
  11. before_script:
  12. - sudo cgcreate -t travis -a travis -g memory:tunasync
  13. script:
  14. - ./.testandcover.bash
  15. after_success:
  16. - goveralls -coverprofile=profile.cov -service=travis-ci
  17. before_deploy: "echo 'ready to deploy?'"
  18. deploy:
  19. provider: releases
  20. file:
  21. - "build/tunasync-linux-bin.tar.gz"
  22. api_key:
  23. secure: "F9kaVaR1mxEh2+EL9Nm8GZmbVY98pXCJA0LGDNrq1C2vU61AUNOeX6yI1mMklHNZPLBqoFDvGN1M5HnJ+xWCFH+KnJgLD2GVIAcAxFNpcNWQe8XKE5heklNsIQNQfuh/rJKM6YzeDB9G5RN4Y76iL4WIAXhNnMm48W6jLnWhf70="
  24. skip_cleanup: true
  25. overwrite: true
  26. on:
  27. tags: true
  28. all_branches: true