loginsrv

Unnamed repository; edit this file 'description' to name the repository.
git clone git@jamesshield.xyz:repos/loginsrv.git
Log | Files | Refs | README | LICENSE

.travis.yml (612B)


      1 language: go
      2 
      3 go:
      4   - "1.12"
      5   - "1.13"
      6   - master
      7 
      8 # Allow builds from tip to fail - they might be in an unstable state
      9 jobs:
     10   allow_failures:
     11     - go: master
     12 
     13 env:
     14   - GO111MODULE=on
     15 
     16 services:
     17   - docker
     18 
     19 before_install:
     20   - go get github.com/wadey/gocovmerge
     21   - go get github.com/mattn/goveralls
     22   - go get golang.org/x/tools/cmd/cover
     23 
     24 script:
     25   - go test -v ./...
     26   - go vet ./...
     27 
     28 deploy:
     29   provider: script
     30   script: "./docker_push.sh"
     31   skip_cleanup: true
     32   on:
     33     branch: master
     34     go: "1.13"
     35 
     36 after_success:
     37   - ./.generate_coverage.sh
     38   - goveralls -coverprofile=full_cov.out -service=travis-ci