Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Add travis yml and disable actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyah Check committed Jan 3, 2020
1 parent 067ceab commit 818b8b5
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Build and Run Tests
# name: Build and Run Tests

on: [push, pull_request]
# on: [push, pull_request]


jobs:
setup-build-test:
name: Setup, Build, Test
strategy:
matrix:
go-version: [1.12.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Build
run: make build
- name: Run tests
run: make test
- name: Install
run: make install
# jobs:
# setup-build-test:
# name: Setup, Build, Test
# strategy:
# matrix:
# go-version: [1.12.x]
# platform: [macos-latest]
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Setup Go
# uses: actions/setup-go@v1
# with:
# go-version: ${{ matrix.go-version }}
# - name: Checkout code
# uses: actions/checkout@v1
# - name: Build
# run: make build
# - name: Run tests
# run: make test
# - name: Install
# run: make install
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: go
cache:
directories:
- $GOCACHE
- $GOPATH/pkg/mod
sudo: required
go:
- "1.12.x"
- "1.13.x"
jobs:
include:
- stage: Build
script: make build
- stage: Test
script: make test
name: Install
- script: make install

0 comments on commit 818b8b5

Please sign in to comment.