From 3b090ed44e53adc83c452a17cd066c53aa19a083 Mon Sep 17 00:00:00 2001
From: SP Mohanty <spmohanty91@gmail.com>
Date: Wed, 3 Apr 2019 05:57:09 +0200
Subject: [PATCH] Configure gitlab-ci

---
 .gitlab-ci.yml | 12 ++++++++++++
 .travis.yml    | 29 -----------------------------
 2 files changed, 12 insertions(+), 29 deletions(-)
 create mode 100644 .gitlab-ci.yml
 delete mode 100644 .travis.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..f55374c
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+image: python:3.5
+
+cache:
+    paths:
+        - .tox
+
+before_script:
+    - pip install -U tox
+
+tests:
+    script:
+        - tox
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index e2de5aa..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-# Config file for automatic testing at travis-ci.org
-
-language: python
-python:
-  - 3.6
-  - 3.5
-  - 3.4
-  - 2.7
-
-# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
-install: pip install -U tox-travis
-
-# Command to run tests, e.g. python setup.py test
-script: tox
-
-# Assuming you have installed the travis-ci CLI tool, after you
-# create the Github repo and add it to Travis, run the
-# following command to finish PyPI deployment setup:
-# $ travis encrypt --add deploy.password
-deploy:
-  provider: pypi
-  distributions: sdist bdist_wheel
-  user: spMohanty
-  password:
-    secure: PLEASE_REPLACE_ME
-  on:
-    tags: true
-    repo: spMohanty/flatland
-    python: 3.6
-- 
GitLab