summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-12-23 11:54:24 +0100
committerKali Kaneko <kali@leap.se>2017-12-26 19:26:53 +0100
commita48e2f8521025b0992e87245cb02a90a5fc74e58 (patch)
treeb6ae3a14fa92bb050e10ce2a975ee3fd062d3468 /.gitlab-ci.yml
parent0236c16af176a4049b9ff1354f8af42764c5bdc8 (diff)
[test] Split monolithic e2e test into seperate tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml40
1 files changed, 36 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba2fa048..d6250e43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,7 +52,7 @@ bitmask_latest_bundle:
tags:
- linux
-e2e_tests:
+e2e_test_mail:
image: 0xacab.org:4567/leap/bitmask-dev:latest
stage: e2e
allow_failure: true
@@ -65,15 +65,47 @@ e2e_tests:
- make dev-latest-backend
- mkdir -p /root/.config/leap/
- make install_helpers
- - make test_e2e
+ - make test_e2e_mail
+ tags:
+ - linux
+
+e2e_test_vpn:
+ image: 0xacab.org:4567/leap/bitmask-dev:latest
+ stage: e2e
+ allow_failure: true
+ dependencies:
+ - linux_test
+ script:
+ - dpkg -l tox gnupg1 haveged > /dev/null || apt-get -y --no-install-recommends install tox gnupg1 haveged
+ - tox -e py27-dev --notest
+ - source .tox/py27-dev/bin/activate
+ - make dev-latest-backend
+ - mkdir -p /root/.config/leap/
+ - make install_helpers
+ - make test_e2e_vpn
+ tags:
+ - linux
+
+e2e_test_conditional_downloads:
+ image: 0xacab.org:4567/leap/bitmask-dev:latest
+ stage: e2e
+ allow_failure: true
+ dependencies:
+ - linux_test
+ script:
+ - dpkg -l tox gnupg1 haveged > /dev/null || apt-get -y --no-install-recommends install tox gnupg1 haveged
+ - tox -e py27-dev --notest
+ - source .tox/py27-dev/bin/activate
+ - make dev-latest-backend
+ - mkdir -p /root/.config/leap/
+ - make install_helpers
+ - make test_e2e_conditional_downloads
tags:
- linux
functional_tests:
image: 0xacab.org:4567/leap/bitmask-dev:latest
stage: functional
- dependencies:
- - e2e_tests
before_script:
- dpkg -l tox > /dev/null || apt-get -y --no-install-recommends install tox
- tox -e py27-dev --notest