Convert to Github Actions
parent
6effc093c4
commit
2682fcf031
|
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
name: Squib Unit Tests
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Set up Ruby 2.6
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 2.6
|
||||||
|
# bundler-cache: true
|
||||||
|
- run: bundle install
|
||||||
|
- run: bundle exec rake
|
||||||
|
|
||||||
17
.travis.yml
17
.travis.yml
|
|
@ -1,17 +0,0 @@
|
||||||
language: ruby
|
|
||||||
sudo: true # need this for libgirepository1.0-dev
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- libgirepository1.0-dev # for gobject-introspection
|
|
||||||
rvm:
|
|
||||||
- 2.4.2
|
|
||||||
- 2.5.3
|
|
||||||
- 2.6.3
|
|
||||||
- ruby-head
|
|
||||||
before_install:
|
|
||||||
- gem update --system
|
|
||||||
- gem install bundler
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- rvm: ruby-head
|
|
||||||
25
appveyor.yml
25
appveyor.yml
|
|
@ -1,25 +0,0 @@
|
||||||
version: '{build}'
|
|
||||||
|
|
||||||
skip_tags: true
|
|
||||||
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- ruby_version: "24"
|
|
||||||
- ruby_version: "24-x64"
|
|
||||||
- ruby_version: "25"
|
|
||||||
- ruby_version: "25-x64"
|
|
||||||
- ruby_version: "26"
|
|
||||||
- ruby_version: "26-x64"
|
|
||||||
|
|
||||||
install:
|
|
||||||
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
|
||||||
- ruby --version
|
|
||||||
- gem --version
|
|
||||||
- gem install bundler
|
|
||||||
- bundler --version
|
|
||||||
- bundle install
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- rake
|
|
||||||
|
|
||||||
build: off
|
|
||||||
Loading…
Reference in New Issue