Skip to content

Commit

Permalink
Switch to Circle.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Oct 29, 2020
1 parent d2a1cc4 commit 1701c8b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 16 deletions.
29 changes: 29 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,29 @@
version: 2
jobs:
build:
environment:
GO111MODULE: "on"
docker:
- image: circleci/golang:1.14
working_directory: /go/src/github.com/alecthomas/chroma
steps:
- checkout
- run:
name: Prepare
command: |
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.26.0
mkdir ~/report
when: always
- run:
name: Test
command: |
go test -v ./...
- run:
name: Lint
command: |
go build ./...
./bin/golangci-lint run
- run:
name: Release
command: |
curl -sL https://git.io/goreleaser | bash && goreleaser
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
@@ -1,4 +1,5 @@
# Chroma — A general purpose syntax highlighter in pure Go [![Golang Documentation](https://godoc.org/github.com/alecthomas/chroma?status.svg)](https://godoc.org/github.com/alecthomas/chroma) [![Build Status](https://travis-ci.org/alecthomas/chroma.svg)](https://travis-ci.org/alecthomas/chroma) [![Gitter chat](https://badges.gitter.im/alecthomas.svg)](https://gitter.im/alecthomas/Lobby)
# Chroma — A general purpose syntax highlighter in pure Go [![Golang Documentation](https://godoc.org/github.com/alecthomas/chroma?status.svg)](https://godoc.org/github.com/alecthomas/chroma) [![CircleCI](https://img.shields.io/circleci/project/github/alecthomas/chroma.svg)](https://circleci.com/gh/alecthomas/chroma)
[![Go Report Card](https://goreportcard.com/badge/github.com/alecthomas/chroma)](https://goreportcard.com/report/github.com/alecthomas/chroma) [![Slack chat](https://img.shields.io/static/v1?logo=slack&style=flat&label=slack&color=green&message=gophers)](https://gophers.slack.com/messages/CN9DS8YF3)

> **NOTE:** As Chroma has just been released, its API is still in flux. That said, the high-level interface should not change significantly.
Expand Down

0 comments on commit 1701c8b

Please sign in to comment.