Skip to content

Commit 1701c8b

Browse files
committed
Switch to Circle.
1 parent d2a1cc4 commit 1701c8b

File tree

3 files changed

+31
-16
lines changed

3 files changed

+31
-16
lines changed

Diff for: .circleci/config.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 2
2+
jobs:
3+
build:
4+
environment:
5+
GO111MODULE: "on"
6+
docker:
7+
- image: circleci/golang:1.14
8+
working_directory: /go/src/github.com/alecthomas/chroma
9+
steps:
10+
- checkout
11+
- run:
12+
name: Prepare
13+
command: |
14+
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s v1.26.0
15+
mkdir ~/report
16+
when: always
17+
- run:
18+
name: Test
19+
command: |
20+
go test -v ./...
21+
- run:
22+
name: Lint
23+
command: |
24+
go build ./...
25+
./bin/golangci-lint run
26+
- run:
27+
name: Release
28+
command: |
29+
curl -sL https://git.io/goreleaser | bash && goreleaser

Diff for: .travis.yml

-15
This file was deleted.

Diff for: README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# 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)
1+
# 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)
2+
[![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)
23

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

0 commit comments

Comments
 (0)