From f43900b9db669433d8f861c17182f363ac2c61b4 Mon Sep 17 00:00:00 2001
From: "Olivier J.N. Bertrand" <olivier.bertrand@uni-bielefeld.de>
Date: Sun, 1 Apr 2018 14:13:35 +0200
Subject: [PATCH] reformat CI/CD

---
 .gitlab-ci.yml | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18f5ddd..37df8f0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,26 +7,28 @@ before_script:
 
 stages:
   - build
-  - flake8
   - test
+  - deploy
 
-build:
+navipy_install:
+  stage: build
   script:
   - python3 setup.py bdist_wheel
 
 flake8:
+  stage: test
   script:
   - pip3 install --user tox flake8
   - python3 -m flake8 navipy/*.py
   
-test:
+navipy_unittest:
+  stage: test
   script:
-  - pip3 install --user networkx  # you can also use tox
+  - pip3 install --user networkx
   - python3 -m unittest discover navipy
 
-
-
-pages:
+doc_build:
+  stage: deploy
   script:
   - pip3 install --user sphinx sphinx-rtd-theme
   - cd doc ; make html
-- 
GitLab