Skip to content

Commit

Permalink
ci: delete travis
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Dec 10, 2021
1 parent dbfcef5 commit 270462b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 24 deletions.
3 changes: 0 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ updates:
- dependency-name: github.com/stretchr/testify
versions:
- 1.7.0
- dependency-name: golang.org/x/text
versions:
- 0.3.5
34 changes: 34 additions & 0 deletions .github/workflows/master-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: test
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.*
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch all tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Last tag
run: git describe --tags $(git rev-list --tags --max-count=1) --always
- name: Test
env:
SERVICE_TOKEN: ${{ secrets.SERVICE_TOKEN }}
WIDGET_TOKEN: ${{ secrets.WIDGET_TOKEN }}
GROUP_TOKEN: ${{ secrets.GROUP_TOKEN }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
USER_TOKEN: ${{ secrets.USER_TOKEN }}
MARUSIA_TOKEN: ${{ secrets.MARUSIA_TOKEN }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
GROUP_ID: ${{ secrets.GROUP_ID }}
ACCOUNT_ID: ${{ secrets.ACCOUNT_ID }}
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic -p=1 ./...
- name: codecov
run: bash <(curl -s https://codecov.io/bash)
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# VK SDK for Golang

[![Build Status](https://travis-ci.com/SevereCloud/vksdk.svg?branch=master)](https://app.travis-ci.com/SevereCloud/vksdk)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/v2)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2?tab=subdirectories)
[![VK Developers](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://vk.com/dev/)
[![codecov](https://codecov.io/gh/SevereCloud/vksdk/branch/master/graph/badge.svg)](https://codecov.io/gh/SevereCloud/vksdk)
Expand Down

0 comments on commit 270462b

Please sign in to comment.