Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
os: linux
dist: bionic
jobs:
include:
- language: go
go: 1.14.x
before_install: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GOLANGCI_LINT_VERSION"
before_script:
- curl -Lo /tmp/cc-test-reporter https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
- chmod +x /tmp/cc-test-reporter
- /tmp/cc-test-reporter before-build
script:
- golangci-lint run
- go test -coverprofile=c.out ./...
# sed removes the package prefix, which is not a local path in directory
after_script:
- sed -i 's/github.com\/ritlug\/teleirc\///g' c.out
- /tmp/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- language: go
go: 1.15.x
before_install: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GOLANGCI_LINT_VERSION"
before_script:
- curl -Lo /tmp/cc-test-reporter https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
- chmod +x /tmp/cc-test-reporter
- /tmp/cc-test-reporter before-build
script:
- golangci-lint run
- go test -coverprofile=c.out ./...
# sed removes the package prefix, which is not a local path in directory
after_script:
- sed -i 's/github.com\/ritlug\/teleirc\///g' c.out
- /tmp/cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- language: python
python: 3.7
cache: pip
before_install: cd docs/
install: "pip install $(pipenv lock --requirements)"
script: sh build_docs.sh
env:
global:
- GO111MODULE: "on"
- GOLANGCI_LINT_VERSION: "v1.31.0"
- secure: oS2J4ioikaVguUTKXsAVJ6hvw9jaMQvaERuGn32AynpqpCw55b6Sp1lwkzUc7dcQBEUIS1DJ2CbPTGmtI8q+ivDWdBQ2e2CR7N8lsFn0xbFY9TPHQ3Z+V/4aBOuhe+fdTz6tqdokhbU3EkxosA7VbKXNn+xbHTe6cZINYF/nCKqoYHw1zMUNFBjVjvF2am7KD4DHhP1o0lEXbgdjyiS/c9njknUIZxYCmLVTOatUvXucV/Oi7ZQBVH/PnX6t0nZjFh2aljjsOM1A+F0tfwwuKi+WgDEmp3Gxi3NLohAEKy//oocxuyjva8O/XxBzA/fRVimp3ibMlEZANpcvcRAS695EOOwbWYX2GEmtj3grVwXS1n0iFGd2UUsIZExP6/O74O2T8lVXzEdLSXQKGfr7XoxxzIUe9QaveukqCesUfF0vKgUwwVjNxo6mYVCKKIsAccjN1Ds0JerSp5Uz6W37HZ+KLhQzG14urcFoIWv8ofgeNNrHiMM+p5XqpfyJ1PjMXCBeCfy+OPUuneD1gHQsB+oFOs04oC+Ftc7AzyOtGCA9sLwRZSuM4NLia1FRCIEaPSSe4oMUjXUT09v+ZhGnTnvOikKW8WEmpAmfXdvk4AaZXEzGaOpYPcqQBZaedkhziUzaqvuRGpM31798LsQxZDFo0PYQwEKzbqLYr2mto0o=
notifications:
irc:
channels:
- "ircs://chat.freenode.net:6697/#rit-lug-teleirc"
template:
- "[%{repository_name}:%{branch}@%{commit} - build #%{build_number}] CI %{result}! (%{build_url})"
on_success: change
on_failure: always