From e64e0bd0dcac1d274838cbe5ce27a51f0253adae Mon Sep 17 00:00:00 2001
From: Rob Scanlon <robscanlon@gmail.com>
Date: Wed, 23 Jun 2021 16:34:30 -0400
Subject: [PATCH] Revert "Add github workflow."

---
 .github/workflows/ruby.yml | 26 --------------------------
 .travis.yml                | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 26 deletions(-)
 delete mode 100644 .github/workflows/ruby.yml
 create mode 100644 .travis.yml

diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
deleted file mode 100644
index 8eda426..0000000
--- a/.github/workflows/ruby.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-name: Ruby
-
-on:
-  push:
-    branches: [ master ]
-  pull_request:
-    branches: [ master ]
-
-jobs:
-  test:
-    runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        ruby-version: ['2.6', '2.7']
-
-    steps:
-    - uses: actions/checkout@v2
-    - name: Set up Ruby
-      uses: ruby/setup-ruby@v1
-      with:
-        ruby-version: ${{ matrix.ruby-version }}
-        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
-    - name: Run tests
-      run: bundle exec rake
-    - name: Rubocop
-      run: bundle exec rubocop
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..0826ee9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: ruby
+env:
+  - TESTMEMORY=0 GCDELAY=2.0
+rvm:
+  - 2.6
+  - 2.7
+before_script:
+  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
+  - chmod +x ./cc-test-reporter
+  - ./cc-test-reporter before-build
+script:
+  - bundle exec rake
+after_script:
+  - ./cc-test-reporter after-build -t simplecov --exit-code $TRAVIS_TEST_RESULT
+notifications:
+  email:
+    recipients:
+      - fhir-testing-list@lists.mitre.org
+    on_failure: change
+addons:
+  code_climate:
+    repo_token: 0230b3379581b30743b7b4355d7394e427648e604d19a2aba987956201eee290
+before_install:
+  - gem update --system
+  - gem install bundler