Split macOS test to GitHub Actions. Because Travis CI add a rate-limit for OSS project

This commit is contained in:
Hiroshi SHIBATA 2020-12-09 10:49:54 +09:00
parent 01d9e8a9b5
commit cbc0ddc7db
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 11 additions and 3 deletions

11
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,11 @@
name: test with macos
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: git clone --depth 1 https://github.com/sstephenson/bats.git
- run: PATH="./bats/bin:$PATH" script/test

View file

@ -1,7 +1,4 @@
sudo: false
os:
- osx
- linux
install: git clone --depth 1 https://github.com/sstephenson/bats.git
script: PATH="./bats/bin:$PATH" script/test
language: c