From 7bfdf2df18586f660e1f731ad70d11a9b5b35449 Mon Sep 17 00:00:00 2001 From: Michael Boniface <mjb@it-innovation.soton.ac.uk> Date: Wed, 21 Mar 2018 20:53:37 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40bab7b..f9f551e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,10 @@ stages: - - test + - test:scripts + - test:streaming_sim + - test:telegraf_agents test:scripts: - stage: test + stage: test:scripts before_script: - vagrant --fixture=scripts -- destroy --force script: @@ -13,7 +15,7 @@ test:scripts: when: manual test:streaming_sim: - stage: test + stage: test:streaming_sim before_script: - vagrant --fixture=streaming-sim -- destroy --force script: @@ -21,12 +23,10 @@ test:streaming_sim: - vagrant --fixture=streaming-sim -- ssh test-runner -- -tt "cd /vagrant && pytest test/streaming-sim/" after_script: - vagrant --fixture=streaming-sim -- destroy --force - dependencies: - - test:streaming_sim when: manual test:telegraf_agents: - stage: test + stage: test:telegraf_agents before_script: - vagrant --fixture=telegraf-agents -- destroy --force script: @@ -34,8 +34,6 @@ test:telegraf_agents: - vagrant --fixture=telegraf-agents -- ssh test-runner -- -tt "cd /vagrant && pytest test/telegraf-agents/" after_script: - vagrant --fixture=telegraf-agents -- destroy --force - dependencies: - - test:streaming_sim when: manual -- GitLab