diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..d857a5d --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,19 @@ +name: Ruby +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.4.0 + - name: Install dependencies + run: bundle install + - name: Run tests + run: bin/rspec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f650016..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -language: ruby -services: - - redis-server -before_install: gem install bundler -v 1.10.6 -install: bundle install -j 4 --retry 3 -script: - - bin/rspec - -matrix: - include: - - rvm: "2.0.0" - - rvm: "2.1.7" - - rvm: "2.2.4" - - rvm: "2.3.0" - - rvm: "2.4.0"