Skip to content

Commit a190b50

Browse files
committed
ci: replace Travis CI with Github Actions
Part of #134
1 parent d96f29d commit a190b50

File tree

5 files changed

+44
-170
lines changed

5 files changed

+44
-170
lines changed

.github/workflows/test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Testing
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
test:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
tarantool: ['1.10', '2.5', '2.6', '2.7', '2.8']
13+
runs-on: [ubuntu-latest]
14+
steps:
15+
- uses: actions/checkout@master
16+
- uses: tarantool/setup-tarantool@v1
17+
with:
18+
tarantool-version: ${{ matrix.tarantool }}
19+
20+
- name: Cache rocks
21+
uses: actions/cache@v2
22+
id: cache-rocks
23+
with:
24+
path: .rocks/
25+
key: cache-rocks-${{ matrix.runs-on }}-01
26+
27+
- run: echo $PWD/.rocks/bin >> $GITHUB_PATH
28+
29+
- run: tarantoolctl rocks make
30+
31+
- name: Build module
32+
run: |
33+
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -S . -B build
34+
make -C build
35+
36+
- name: Run tests
37+
run: make -C build check

.travis.yml

Lines changed: 0 additions & 151 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Changed
10+
911
- Revert all changes related to http v2 (#134).
1012

13+
### Added
14+
15+
- Replace Travis CI with Github Actions.
16+
1117
## [2.1.0] - 2020-01-30
1218

1319
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ align="right">
55

66
# HTTP server for Tarantool 1.7.5+
77

8-
[![Build Status](https://travis-ci.org/tarantool/http.png?branch=tarantool-1.7)](https://travis-ci.org/tarantool/http)
8+
[![Test](https://github.com/tarantool/http/actions/workflows/test.yml/badge.svg)](https://github.com/tarantool/http/actions/workflows/test.yml)
99

1010
> **Note:** In Tarantool 1.7.5+, a full-featured HTTP client is available aboard.
1111
> For Tarantool 1.6.5+, both HTTP server and client are available

test.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)