OLD | NEW |
| (Empty) |
1 #!/bin/sh | |
2 git clone git@github.com:salsita/shishito.git | |
3 sudo pip install -r shishito/requirements.txt | |
4 cd $CIRCLE_ARTIFACTS | |
5 SIMFILE=$(find `pwd` -name '*simulator*.zip') | |
6 curl -u ${SAUCELABS} \ | |
7 -X POST \ | |
8 -H "Content-Type: application/octet-stream" \ | |
9 https://saucelabs.com/rest/v1/storage/salsitaadmin/adblockbrowser.zip?overwrite=
true \ | |
10 --data-binary @${SIMFILE} | |
11 export PYTHONPATH=${PYTHONPATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/shishito \ | |
12 && python ${HOME}/${CIRCLE_PROJECT_REPONAME}/ui_tests/adblock_runner.py --app=sa
uce-storage:adblockbrowser.zip \ | |
13 --saucelabs=${SAUCELABS} --test_rail=${TEST_RAIL} | |
14 cd ${HOME}/${CIRCLE_PROJECT_REPONAME}/ui_tests/results && for result in $(find -
name "*.xml"); \ | |
15 do mkdir -p $CIRCLE_TEST_REPORTS/ui_tests/$(basename $result) && cp $result $CIR
CLE_TEST_REPORTS/ui_tests/$(basename $result); | |
16 done | |
OLD | NEW |