Commit 85e6ae89 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

CircleCI 2.0 changes the way artifacts are created.

parent 90212149
......@@ -16,4 +16,4 @@ jobs:
command: ./circleci-test.sh
- store_artifacts:
path:
path: artifacts
......@@ -2,13 +2,14 @@
export TASTE_IN_DOCKER=1
export CIRCLECI
export CI
rm -rf artifacts
mkdir artifacts
docker run \
-e DISPLAY \
-e CIRCLE_BRANCH \
-e TASTE_IN_DOCKER \
-e CIRCLECI \
-e CI \
-v "${CIRCLE_ARTIFACTS}":"${CIRCLE_ARTIFACTS}" \
-e CIRCLE_ARTIFACTS \
-v $(pwd)/artifacts:/tmp/artifacts \
-it taste \
/bin/bash -c 'apt-get install -y --force-yes xvfb ; Xvfb & export DISPLAY=:0 ; export GIT_SSL_NO_VERIFY=true ; cd /root/ ; . .bashrc.taste ; cd tool-src ; git fetch ; git checkout -f "${CIRCLE_BRANCH}" ; git branch --set-upstream-to=origin/${CIRCLE_BRANCH} ${CIRCLE_BRANCH} ; ./Update-TASTE.sh || exit 1 ; cd testSuites/ ; ./regression.py | tee ${CIRCLE_ARTIFACTS}/A_complete_regression.log ; for i in Demo*/*.log ; do cp "$i" "${CIRCLE_ARTIFACTS}"/"${i/\//_}" ; done ; grep Demo ${CIRCLE_ARTIFACTS}/A_complete_regression.log | grep -v OK$ && exit 1'
/bin/bash -c 'apt-get install -y --force-yes xvfb ; Xvfb & export DISPLAY=:0 ; export GIT_SSL_NO_VERIFY=true ; cd /root/ ; . .bashrc.taste ; cd tool-src ; git fetch ; git checkout -f "${CIRCLE_BRANCH}" ; git branch --set-upstream-to=origin/${CIRCLE_BRANCH} ${CIRCLE_BRANCH} ; ./Update-TASTE.sh || exit 1 ; cd testSuites/ ; ./regression.py | tee /tmp/artifacts/A_complete_regression.log ; for i in Demo*/*.log ; do cp "$i" /tmp/artifacts/"${i/\//_}" ; done ; grep Demo /tmp/artifacts/A_complete_regression.log | grep -v OK$ && exit 1'
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