include basic e2e to the tescases needed for deployment

This commit is contained in:
Roman Hotsiy 2016-05-10 11:02:47 +03:00
parent c228c5473c
commit cc422559fe
2 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,6 @@ branches:
- releases
matrix:
include:
- env: JOB=e2e
- env: JOB=e2e-guru
fast_finish: true
allow_failures:
@ -42,16 +41,16 @@ deploy:
secure: PuhWLERrCEFmXmdFpw2OVFlqpOIVDmgwk5JUJOYaFdVCh/smp0+jZCQ4vrdFpuG96rnDVirD+A8xvW6NgsNNaRthLgOB/LRdFN69rU6Gvn3At6wlnC55t5dlhxPvCfnzJcHVBLXX4EmMkjnZqDg2uczXTzPodr3FnQJNuXmP8B33fzDVLyHccvXZ90abwXWVrgRIXPU28niqCR8DOC2OTzs7wqz+BLNkYDRRbyYXsg62HWuD33x5iof5IqBmhzBt3usCGmF3QGcgHrXHdZw3sZnit8+Bua++3KrXR0x6HGXXN1AoXVmCAkCa5OTQ5R3tCRxiJN3P2KLnvWeZR74sTFkovJB/6pGCvbJ/c7Wnuw6sD7SgOUBD359ULB6lAf5OnxBLoNebX4JxxVXF+zA4E3Bl44VxkzDpPWc15xqBPMB5vBREzMVmJ5mExn2s5cmLQjADbl9h0y6gZnhnNJ+iTmqtrVyM0ZkF2rPrzrTdGD+ULmRIlTMkdD1bh+/TJ3RdXT3P4/zNUJmiNnvgnnJVYYvsGaXWF+7uCVHT/8k2RsoSHqgkqh0gkDqGSwVix55y5mC7T2Vk9lMBhm6MvFJXaonOX0kxJS4EDQ3plPd6/ybG+TLhwggYnQ8o9msU5Nt6FpUShKiezjKurIhbQZdwlVivX3tahjW2QjNDO58xGgY=
on:
tags: true
condition: $JOB == e2e
condition: $JOB != e2e-guru
- skip_cleanup: true
provider: script
script: npm run branch-release
on:
branch: master
condition: $JOB == e2e
condition: $JOB != e2e-guru
- skip_cleanup: true
provider: script
script: npm run deploy
on:
tags: true
condition: $JOB == e2e
condition: $JOB != e2e-guru

View File

@ -1,6 +1,8 @@
#!/bin/bash
if [ "$JOB" = "e2e" ] || [ "$JOB" = "e2e-guru" ]; then
if [ "$JOB" = "e2e-guru" ]; then
npm run e2e
else
npm run unit
echo "Starting Basic E2E"
npm run e2e
fi