Commit b0f54720 authored by Arif Ali's avatar Arif Ali
Browse files

trying if statement instead

parent ba142540
......@@ -10,9 +10,9 @@ variables:
before_script:
- apk add ruby-dev ruby-bundler gcc libc-dev make wget
- bundle install
- '[[ ${GITSHELF} == \"true\" ]] || apk add py2-pip python2-dev git openssh'
- '[[ ${GITSHELF} == \"true\" ]] || pip install -r test-requirements.txt'
- '[[ ${GITSHELF} == \"true\" ]] || gitshelf install'
- if [[ "${GITSHELF}" == "true" ]]; then apk add py2-pip python2-dev git openssh ; fi
- if [[ "${GITSHELF}" == "true" ]]; then pip install -r test-requirements.txt ; fi
- if [[ "${GITSHELF}" == "true" ]]; then gitshelf install ; fi
- mkdir kitchen
- wget https://gitlab.ocf.co.uk/salt/gitlab-ci-templates/raw/master/kitchen/config.yml -O kitchen/config.yml
after_script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment