From 5dbf77df1cf0ba74e45d0ecca400723046f55322 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Sat, 26 Jun 2021 14:06:14 +0200
Subject: [PATCH] remove circleCI in favour of travis

---
 .circleci/config.yml | 34 ---------------------------
 .travis.yml          | 55 ++++++++++++++++++++++++++++++++++++++++++++
 README.md            |  8 +++----
 3 files changed, 59 insertions(+), 38 deletions(-)
 delete mode 100644 .circleci/config.yml
 create mode 100644 .travis.yml

diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index c009a29..0000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-version: 2.1
-
-orbs:
-  python: circleci/python@0.2.1
-
-jobs:
-  build-and-test:
-    executor: python/default
-    steps:
-      - checkout
-      - python/load-cache
-      - python/install-deps
-      - python/save-cache
-      - run:
-          name: Setup Code Climate test-reporter
-          command: |
-            curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
-            chmod +x ./cc-test-reporter
-      - run:
-          name: Test
-          environment:
-            CI: 1
-          command: |
-            python setup.py build_ext --inplace
-            bash tests/test.sh
-      - run:
-          name: Send back coverage results
-          command: |
-            python -m coverage xml
-            ./cc-test-reporter after-build -t coverage.py -r "221b151c896ec22d8fcb5e522aed25c52e7a9515e59390aa200131b890b718d5"
-workflows:
-  main:
-    jobs:
-      - build-and-test
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..bb5b631
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,55 @@
+language: python
+stages:
+  - name: test
+cache: pip
+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
+  - pip install -r requirements.txt
+  - pip install -U nose2 coverage
+  - python setup.py build_ext --inplace
+jobs:
+  include:
+    - stage: test
+      python: "3.5"
+      script:
+        - bash tests/test.sh
+      after_script:
+        - coverage xml
+        - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
+    - stage: test
+      python: "3.6"
+      script:
+        - bash tests/test.sh
+      after_script:
+        - coverage xml
+        - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
+    - stage: test
+      python: "3.7"
+      script:
+        - bash tests/test.sh
+      after_script:
+        - coverage xml
+        - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
+    - stage: test
+      python: "3.8"
+      script:
+        - bash tests/test.sh
+      after_script:
+        - coverage xml
+        - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
+    - stage: test
+      python: "3.9"
+      script:
+        - bash tests/test.sh
+      after_script:
+        - coverage xml
+        - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
+    - stage: test
+      python: "pypy3.5"
+      script:
+        - bash tests/test.sh
+
+
+
diff --git a/README.md b/README.md
index 7008c52..d0dc88c 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
 [![Documentation Status](https://readthedocs.org/projects/tempsdb/badge/?version=latest)](http://tempsdb.readthedocs.io/en/latest/?badge=latest)
 [![Maintainability](https://api.codeclimate.com/v1/badges/657b03d115f6e001633c/maintainability)](https://codeclimate.com/github/smok-serwis/tempsdb/maintainability)
 [![Test Coverage](https://api.codeclimate.com/v1/badges/a0ff30771c71e43e8149/test_coverage)](https://codeclimate.com/github/smok-serwis/tempsdb/test_coverage)
-[![Build status](https://circleci.com/gh/smok-serwis/tempsdb.svg?style=shield)](https://app.circleci.com/pipelines/github/smok-serwis/tempsdb)
+[![Build Status](https://travis-ci.com/smok-serwis/tempsdb.svg)](https://travis-ci.com/smok-serwis/tempsdb)
 [![Wheel](https://img.shields.io/pypi/wheel/tempsdb.svg)](https://pypi.org/project/tempsdb/)
 
 Embedded Cython library for time series that you need to upload somewhere.
@@ -19,12 +19,12 @@ fixed length or variable.
 ```bash
 git clone https://github.com/smok-serwis/tempsdb
 cd tempsdb
-pip install snakehouse satella
+pip install snakehouse tempsdb
 python setup.py install
 ```
 
 You need both [snakehouse](https://pypi.org/project/snakehouse/1.2.2/)
-and [satella](https://pypi.org/project/satella/) to compile it from the source,
+and [tempsdb](https://pypi.org/project/tempsdb/) to compile it from the source,
 though binary wheels for:
  
 * Linux [manylinux2014]:
@@ -38,7 +38,7 @@ are available. If you need an extra wheel, compile it yourself
 or just drop me an [issue](https://github.com/smok-serwis/tempsdb/issues/new).
 
 If you're installing it somewhere that you don't need both snakehouse
-and satella installed, compile your own binary wheel with
+and tempsdb installed, compile your own binary wheel with
 
 ```
 python setup.py bdist_wheel
-- 
GitLab