diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d883d6afb7f89636bb42f1a6fdde9b177e81239..5861b03ffc888b20bd5325df58e45e3f0b0217d1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,27 +1,15 @@
-image: registry.kszk.bme.hu/baseimg/python-tools
+image: python:2.7
 
 stages:
-  - Init
   - Testing
   - Release
 
-pip:
-  stage: Init
-  script:
-    - python --version
-    - pip install -e .
-
 flake8:
   stage: Testing
   script:
+    - pip install flake8
     - flake8 src
 
-pytest:
-  stage: Testing
-  script:
-    - pip install .[tests]
-    - py.test tests
-
 release:
   only:
     - master
@@ -29,4 +17,5 @@ release:
   stage: Release
   script:
     - python setup.py sdist bdist_wheel
-    - python setup.py upload --repository https://nexus.kszk.bme.hu/repository/pypi/
\ No newline at end of file
+    - pip install twine
+    - twine upload --repository-url https://nexus.kszk.bme.hu/repository/pypi/ --username "${NEXUS_USERNAME}" --password "${NEXUS_PASSWORD}" dist/*