aboutsummaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: ff3ff71f71aaa74319c6bc3c0a4f46fbd1cc940b (plain) (tree)
1
2
3
4
5
6
7
8
9

            
         
               
                           
                                         
        

                                                     
                                        
                                                                  
              


                       
                  
                         
       
                                  

                                                                                                                          
    
         
                                                                                                                                                                                            
 



                                                         


                       
language: go
go:
  - 1.4.2
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -yqq libgmp3-dev
install:
  # - go get code.google.com/p/go.tools/cmd/goimports
  # - go get github.com/golang/lint/golint
  # - go get golang.org/x/tools/cmd/vet 
  - go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls
before_script:
  # - gofmt -l -w .
  # - goimports -l -w .
  # - golint .
  # - go vet ./...
  # - go test -race ./...
script:
  - make travis-test-with-coverage
after_success:
  - if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
env:
  global:
    - secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/e09ccdce1048c5e03445
    on_success: change 
    on_failure: always
    on_start: false